llvm-project/clang/utils/TableGen
Richard Smith 4f902c7ecc P0188R1: add support for standard [[fallthrough]] attribute. This is almost
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
2016-03-08 00:32:55 +00:00
..
CMakeLists.txt [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR. 2014-01-19 13:00:01 +00:00
ClangASTNodesEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
ClangAttrEmitter.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
ClangCommentCommandInfoEmitter.cpp Fix Clang-tidy modernize-use-nullptr warnings in headers and generated files; other minor cleanups. 2015-09-29 20:56:43 +00:00
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp TableGen backends: use emitSourceFileHeader() to emit the warning about 2013-01-30 21:54:20 +00:00
ClangCommentHTMLTagsEmitter.cpp Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
ClangDiagnosticsEmitter.cpp [TableGen] Merge the SuperClass Record and SMRange vector a single vector. This removes the state needed to manage the extract vector. NFC 2016-01-18 19:52:54 +00:00
ClangSACheckersEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
NeonEmitter.cpp No need to use utostr when putting integers into a raw_ostream. NFC 2016-01-31 00:20:26 +00:00
TableGen.cpp [TableGen] Call llvm_shutdown on exit so that all the ManagedStatic objects in the support library will be deleted. 2016-01-04 04:51:46 +00:00
TableGenBackends.h Add missing header guards. 2014-08-08 13:24:19 +00:00