forked from OSchip/llvm-project
4f902c7ecc
exactly the same as clang's existing [[clang::fallthrough]] attribute, which has been updated to have the same semantics. The one significant difference is that [[fallthrough]] is ill-formed if it's not used immediately before a switch label (even when -Wimplicit-fallthrough is disabled). To support that, we now build a CFG of any function that uses a '[[fallthrough]];' statement to check. In passing, fix some bugs with our support for statement attributes -- in particular, diagnose their use on declarations, rather than asserting. llvm-svn: 262881 |
||
---|---|---|
.. | ||
badpch-dir.h.gch | ||
modules | ||
__va_list_tag.h | ||
arc.h | ||
badpch-empty.h.gch | ||
case-insensitive-include.h | ||
chain-decls1.h | ||
chain-decls2.h | ||
chain-ext_vector1.h | ||
chain-ext_vector2.h | ||
chain-external-defs1.h | ||
chain-external-defs2.h | ||
chain-macro-override1.h | ||
chain-macro-override2.h | ||
chain-macro1.h | ||
chain-macro2.h | ||
chain-remap-types1.h | ||
chain-remap-types2.h | ||
chain-selectors1.h | ||
chain-selectors2.h | ||
chain-trivial1.h | ||
chain-trivial2.h | ||
cuda.h | ||
cxx-method.h | ||
cxx11-statement-attributes.h | ||
namespaces.h | ||
preamble.h | ||
typo.h | ||
typo.hpp | ||
va_arg.h | ||
working-directory-1.h |