forked from qt-creator/qt-creator
CppEditor: Blacklist another gcc-only option for clang tools
As per https://lists.qt-project.org/pipermail/qt-creator/2024-May/ 009262.html. Change-Id: Id8993f874c7bfc8d1cbdf03045a0f0f953d86ca4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -899,8 +899,8 @@ void CompilerOptionsBuilder::evaluateCompilerFlags()
|
||||
continue;
|
||||
}
|
||||
|
||||
// GCC option that clang doesn't know.
|
||||
if (option.contains("direct-extern-access"))
|
||||
// GCC options that clang doesn't know.
|
||||
if (option.contains("direct-extern-access") || option == "-fnothrow-opt")
|
||||
continue;
|
||||
|
||||
// These were already parsed into ProjectPart::includedFiles.
|
||||
|
Reference in New Issue
Block a user