llvm-project/clang/unittests
Johannes Doerfert 931c0cd713 [OpenMP][NFC] Move and simplify directive -> allowed clause mapping
Move the listing of allowed clauses per OpenMP directive to the new
macro file in `llvm/Frontend/OpenMP`. Also, use a single generic macro
that specifies the directive and one allowed clause explicitly instead
of a dedicated macro per directive.

We save 800 loc and boilerplate for all new directives/clauses with no
functional change. We also need to include the macro file only once and
not once per directive.

Depends on D77112.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D77113
2020-04-06 00:04:08 -05:00
..
AST [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
ASTMatchers [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
Analysis [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
Basic Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
CodeGen Remove CompositeType class. 2020-03-18 13:53:17 -07:00
CrossTU [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
DirectoryWatcher [DirectoryWatcher] Fix misuse of FSEvents API and data race 2020-02-11 09:25:38 -08:00
Driver Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
Format clang-format: [JS] detect C++ keywords. 2020-04-03 14:23:56 +02:00
Frontend Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
Index [clang][Index] Visit the default parameter arguements in libindex. 2020-02-17 16:45:04 +01:00
Lex Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Rename [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
Serialization Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
StaticAnalyzer [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
Tooling [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
libclang Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
CMakeLists.txt [clang] [unittest] Import LLVMTestingSupport if necessary 2019-09-12 13:06:12 +00:00