Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83364?usp=email )
Change subject: [test] Enable Wparentheses for LLVM ......................................................................
[test] Enable Wparentheses for LLVM
`-Wparentheses` is enabled by default for GCC but not for LLVM.
Change-Id: I346c078988f3afe3487aea02bb91c86fb47c0cb7 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/xcompile/xcompile 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/83364/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index ff067d2..e1bdfe2 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -267,6 +267,7 @@ CLANG_CFLAGS_${TARCH}+=-Wno-unused-variable -Wno-unused-function -Wno-tautological-compare CLANG_CFLAGS_${TARCH}+=-Wno-shift-overflow -Wno-address-of-packed-member -Wno-initializer-overrides CLANG_CFLAGS_${TARCH}+=-fbracket-depth=2048 -mllvm -asm-macro-max-nesting-depth=1000 +CLANG_CFLAGS_${TARCH}+=-Wparentheses CLANG_COMPILER_RT_${TARCH}:=${CC_RT_CLANG} CLANG_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_CLANG} # Leak the target arch into the preprocessor flags with clang.