We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a5a061 commit fc75fa2Copy full SHA for fc75fa2
llvm/unittests/CMakeLists.txt
@@ -14,6 +14,11 @@ function(add_llvm_target_unittest test_dir_name)
14
add_llvm_unittest(${test_dir_name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
15
endfunction()
16
17
+# GCC may emit false positive warnings against LLVM's style guide.
18
+if (CMAKE_COMPILER_IS_GNUCXX)
19
+ list(APPEND LLVM_COMPILE_FLAGS "-Wno-dangling-else")
20
+endif ()
21
+
22
add_subdirectory(ADT)
23
add_subdirectory(Analysis)
24
add_subdirectory(AsmParser)
0 commit comments