forked from OSchip/llvm-project
282ad876bd
This implementation doesn't warn on anything that GCC doesn't warn on with the exception of templates specializations (GCC doesn't warn, Clang does). The specific skipped cases (boolean, constant expressions, enums) are open for debate/adjustment if anyone wants to demonstrate that GCC is being overly conservative here. The only really obvious false positive I found was in the Clang regression suite's MPI test - apparently MPI uses specific flag values in pointer constants. (eg: #define FOO (void*)~0) llvm-svn: 166039 |
||
---|---|---|
.. | ||
basic.namespace | ||
dcl.attr/dcl.attr.grammar | ||
dcl.enum | ||
dcl.link | ||
dcl.spec | ||
p4-0x.cpp |