llvm-project/clang/unittests
Yitzhak Mandelbaum 523cae324d [libTooling] Add option for `buildAST` to report diagnostics.
Summary:
Currently, `buildAST[WithArgs]` either succeeds or fails.  This patch adds
support for the caller to pass a `DiagnosticConsumer` to receive all relevant
diagnostics.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74763
2020-02-18 09:11:51 -05:00
..
AST [ASTImporter] Prevent the ASTImporter from creating multiple main FileIDs. 2020-02-18 08:37:26 +01:00
ASTMatchers Remove clang::ast_type_traits namespace in favor of clang 2020-02-13 10:46:47 -08:00
Analysis [ASTMatchers] StringRef'ify hasName 2020-01-29 10:53:08 +01:00
Basic Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
CodeGen Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template 2020-01-14 18:56:29 +01: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 [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08:00
Format [clang-format] Add new option BeforeLambdaBody in Allman style. 2020-02-13 22:16:41 +01:00
Frontend [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08: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 Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Serialization [modules] Do not cache invalid state for modules that we attempted to load. 2020-01-16 17:12:41 -08:00
StaticAnalyzer [analyzer] CheckerContext: Make the Preprocessor available 2020-01-30 17:05:52 +01:00
Tooling [libTooling] Add option for `buildAST` to report diagnostics. 2020-02-18 09:11:51 -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