This is very useful for projects which embed LLVM in their codebases.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| cmake/modules/HandleLLVMOptions.cmake | ||
|---|---|---|
| 562 | note this is an else to shouldn't the condition be | |
Differential D31702
Append -w when LLVM_ENABLE_WARNINGS is Off. Authored by v.g.vassilev on Apr 5 2017, 2:35 AM.
Details
Diff Detail Event Timeline
| ||||||
note this is an else to
if (LLVM_ENABLE_WARNINGS AND (LLVM_COMPILER_IS_GCC_COMPATIBLE OR CLANG_CL))
so for non-gcc non-clang_cl compilers you'd also end up here.
shouldn't the condition be
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT LLVM_ENABLE_WARNINGS)