forked from OSchip/llvm-project
Reenable -Wexpansion-to-defined.
I think I fixed all instances of this in the codebase (r258202, 258200, 258190). Also, the suppression didn't have an effect on bots using make anyways, and it looks like many bots still use configure/make bots. llvm-svn: 258210
This commit is contained in:
parent
b6a296ca62
commit
963a5f4262
|
@ -403,9 +403,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
|
|||
append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
||||
append("-Wcast-qual" CMAKE_CXX_FLAGS)
|
||||
|
||||
# FIXME: Clean up the codebase, then remove this flag.
|
||||
add_flag_if_supported("-Wno-expansion-to-defined" EXPANSION_TO_DEFINED_FLAG)
|
||||
|
||||
# Turn off missing field initializer warnings for gcc to avoid noise from
|
||||
# false positives with empty {}. Turn them on otherwise (they're off by
|
||||
# default for clang).
|
||||
|
|
Loading…
Reference in New Issue