mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
fix
This commit is contained in:
parent
84505b7947
commit
d8b336a942
@ -43,10 +43,10 @@ if (COMPILER_CLANG)
|
|||||||
add_warning(range-loop-analysis)
|
add_warning(range-loop-analysis)
|
||||||
add_warning(redundant-parens)
|
add_warning(redundant-parens)
|
||||||
add_warning(reserved-id-macro)
|
add_warning(reserved-id-macro)
|
||||||
add_warning(shadow-field) # clang 8+
|
add_warning(shadow-field)
|
||||||
add_warning(shadow-uncaptured-local)
|
add_warning(shadow-uncaptured-local)
|
||||||
add_warning(shadow)
|
add_warning(shadow)
|
||||||
add_warning(string-plus-int) # clang 8+
|
add_warning(string-plus-int)
|
||||||
add_warning(undef)
|
add_warning(undef)
|
||||||
add_warning(unreachable-code-return)
|
add_warning(unreachable-code-return)
|
||||||
add_warning(unreachable-code)
|
add_warning(unreachable-code)
|
||||||
@ -59,6 +59,9 @@ if (COMPILER_CLANG)
|
|||||||
add_warning(anon-enum-enum-conversion)
|
add_warning(anon-enum-enum-conversion)
|
||||||
add_warning(assign-enum)
|
add_warning(assign-enum)
|
||||||
add_warning(bitwise-op-parentheses)
|
add_warning(bitwise-op-parentheses)
|
||||||
|
add_warning(int-in-bool-context)
|
||||||
|
add_warning(sometimes-uninitialized)
|
||||||
|
add_warning(tautological-bitwise-compare)
|
||||||
|
|
||||||
# XXX: libstdc++ has some of these for 3way compare
|
# XXX: libstdc++ has some of these for 3way compare
|
||||||
if (USE_LIBCXX)
|
if (USE_LIBCXX)
|
||||||
|
Loading…
Reference in New Issue
Block a user