llvm-project/clang/unittests/Tooling
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
..
RecursiveASTVisitorTests [Tooling] Move raw string literal out of a macro call. NFC 2019-12-12 10:53:20 +01:00
Syntax Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ASTSelectionTest.cpp Use std::foo_t rather than std::foo in clang. 2020-02-11 10:37:08 -08:00
CMakeLists.txt Reland "[AST] Traverse the class type loc inside the member type loc."" 2019-12-09 11:18:12 +01:00
CastExprTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommentHandlerTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
CompilationDatabaseTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
DependencyScannerTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
DiagnosticsYamlTest.cpp [test] Delete trailing spaces from YAML tests 2019-07-12 05:59:28 +00:00
ExecutionTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
FixItTest.cpp [LibTooling] Add "SourceCode" library for functions relating to source-code manipulation. 2019-04-05 14:05:03 +00:00
HeaderIncludesTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
LexicallyOrderedRecursiveASTVisitorTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LookupTest.cpp Fix gcc "-Wdangling-else" warning. NFCI. 2019-04-30 10:57:37 +00:00
QualTypeNamesTest.cpp Renamed traverseDecl to TraverseDecl in a test 2020-01-17 17:12:23 +01:00
RangeSelectorTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
RecursiveASTVisitorTestDeclVisitor.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RecursiveASTVisitorTestPostOrderVisitor.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
RecursiveASTVisitorTestTypeLocVisitor.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RefactoringActionRulesTest.cpp [test] Delete trailing spaces from YAML tests 2019-07-12 05:59:28 +00:00
RefactoringCallbacksTest.cpp Removed the 'id' AST matcher, which is superseded by '.bind()' 2019-08-20 13:02:28 +00:00
RefactoringTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ReplacementTest.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ReplacementsYamlTest.cpp [test] Delete trailing spaces from YAML tests 2019-07-12 05:59:28 +00:00
RewriterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RewriterTestContext.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SourceCodeBuildersTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SourceCodeTest.cpp [libTooling] Fix bug in Stencil handling of macro ranges 2020-01-17 12:11:25 -05:00
StencilTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
TestVisitor.h [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
ToolingTest.cpp [libTooling] Add option for `buildAST` to report diagnostics. 2020-02-18 09:11:51 -05:00
TransformerTest.cpp Fix clang unnittest build with GCC 5 2020-01-29 10:30:36 +01:00