llvm-project/clang/unittests/Tooling
Kadir Cetinkaya f43ff34ae6
[clang] Mark re-injected tokens appropriately during pragma handling
This hides such tokens from TokenWatcher, preventing crashes in clients
trying to match spelled and expanded tokens.

Fixes https://github.com/clangd/clangd/issues/712

Differential Revision: https://reviews.llvm.org/D98483
2021-03-12 18:18:17 +01:00
..
RecursiveASTVisitorTests [Clang][unittests][NFC] Break up test in Callbacks.cpp 2020-10-09 08:53:50 -05:00
Syntax [clang] Mark re-injected tokens appropriately during pragma handling 2021-03-12 18:18:17 +01:00
ASTSelectionTest.cpp Use std::foo_t rather than std::foo in clang. 2020-02-11 10:37:08 -08:00
CMakeLists.txt [Clang][unittests][NFC] Break up test in Callbacks.cpp 2020-10-09 08:53:50 -05:00
CastExprTest.cpp Adapt CastExpr::getSubExprAsWritten to ConstantExpr 2021-01-12 09:41:03 +01:00
CommentHandlerTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
CompilationDatabaseTest.cpp [clangd] Use flags from open files when opening headers they include 2021-03-01 09:43:59 +01:00
DependencyScannerTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
DiagnosticsYamlTest.cpp [clang-tidy] Add diagnostics level to YAML output 2020-06-15 07:40:53 -07: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 [Tooling][Format] Treat compound extensions (foo.bar.cc) as matching foo.h 2020-08-27 15:24:17 +02: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 Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h 2020-10-20 10:13:28 +01:00
QualTypeNamesTest.cpp Renamed traverseDecl to TraverseDecl in a test 2020-01-17 17:12:23 +01:00
RangeSelectorTest.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +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 Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
RefactoringTest.cpp Tooling: Migrate some tests to FileEntryRef, NFC 2020-12-10 18:05:03 -08: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 [yaml][clang-tidy] Fix multiline YAML serialization 2020-07-09 02:41:58 -07: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 Tooling: Migrate some tests to FileEntryRef, NFC 2020-12-10 18:05:03 -08:00
SourceCodeBuildersTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SourceCodeTest.cpp [libTooling] Fix `maybeExtendRange` to support `CharRange`s. 2020-07-01 20:40:48 +00:00
StencilTest.cpp [libTooling] Add support for smart pointers to relevant Transformer `Stencil`s. 2021-01-05 17:57:41 +00:00
TestVisitor.h [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
ToolingTest.cpp getClangStripDependencyFileAdjuster(): Do not remove -M args when using MSVC cl driver 2020-09-08 10:21:18 +02:00
TransformerTest.cpp [libTooling] Remove deprecated Clang Transformer declarations 2020-11-30 20:15:26 +00:00