llvm-project/clang/unittests/Tooling/Syntax
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
..
BuildTreeTest.cpp [Syntax] No crash on OpaqueValueExpr. 2021-02-18 10:32:04 +01:00
CMakeLists.txt [SyntaxTree] Test `findFirstLeaf` and `findLastLeaf` 2020-09-22 06:47:36 +00:00
MutationsTest.cpp [SyntaxTree] Specialize `TreeTestBase` for `BuildTreeTest`, `MutationsTest` and `SynthesisTest` 2020-09-10 16:44:14 +00:00
SynthesisTest.cpp [Syntax] Support condition for IfStmt. 2021-02-04 09:15:30 +01:00
TokensTest.cpp [clang] Mark re-injected tokens appropriately during pragma handling 2021-03-12 18:18:17 +01:00
TreeTest.cpp [Syntax] Add iterators over children of syntax trees. 2020-10-28 12:37:57 +01:00
TreeTestBase.cpp [clang] Simplify buildSyntaxTree API 2020-11-09 22:49:54 +01:00
TreeTestBase.h [Syntax] Add iterators over children of syntax trees. 2020-10-28 12:37:57 +01:00