llvm-project/clang/unittests/Tooling
Sam McCall 2eaf6f973c [AST] Preserve more structure in UsingEnumDecl node.
- store NestedNameSpecifier & Loc for the qualifiers
  This information was entirely missing from the AST.
- expose the location information for qualifier/identifier/typedefs as typeloc
  This allows many traversals/astmatchers etc to handle these generically along
  with other references. The decl vs type split can help preserve typedef
  sugar when https://github.com/llvm/llvm-project/issues/57659 is resolved.
- fix the SourceRange of UsingEnumDecl to include 'using'.

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

Differential Revision: https://reviews.llvm.org/D134303
2022-10-12 19:54:51 +02:00
..
RecursiveASTVisitorTests [PS5] Add PS5OSTargetInfo class, update affected tests 2022-06-01 13:30:29 -07:00
Syntax [Syntax] Fix macro-arg handling in TokenBuffer::spelledForExpanded 2022-10-05 18:04:39 +02:00
ASTSelectionTest.cpp
CMakeLists.txt [clang][Tooling] Move STL recognizer to its own library 2022-10-06 10:09:13 +02:00
CastExprTest.cpp Ignore FullExpr when traversing cast sub-expressions 2022-03-21 15:05:53 -04:00
CommentHandlerTest.cpp
CompilationDatabaseTest.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
DependencyScannerTest.cpp [unittests/Tooling/DependencyScannerTest] Add a target triple for `ScanDepsWithFS` test 2022-07-18 16:55:07 -07:00
DiagnosticsYamlTest.cpp Remark was added to clang tooling Diagnostic 2021-05-24 11:21:44 -04:00
ExecutionTest.cpp
FixItTest.cpp [Testing] TestAST, a helper for writing straight-line AST tests 2022-04-21 21:46:45 +02:00
HeaderIncludesTest.cpp [clangd] Crash in __memcmp_avx2_movbe 2022-02-10 09:40:44 -08:00
LexicallyOrderedRecursiveASTVisitorTest.cpp
LookupTest.cpp [clang] Adjust LookupTest for UsingTypeLocs 2022-03-07 16:22:03 +01:00
QualTypeNamesTest.cpp Preserve qualifiers when getting fully qualified type 2022-07-29 19:42:54 -07:00
RangeSelectorTest.cpp Widen `name` stencil to support `TypeLoc` nodes. 2021-05-13 23:23:12 +01:00
RecursiveASTVisitorTestDeclVisitor.cpp
RecursiveASTVisitorTestPostOrderVisitor.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [AST] Preserve more structure in UsingEnumDecl node. 2022-10-12 19:54:51 +02:00
RefactoringActionRulesTest.cpp
RefactoringCallbacksTest.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
RefactoringTest.cpp [clang] Use Any::has_value instead of Any::hasValue (NFC) 2022-08-20 08:40:18 -07:00
ReplacementTest.h
ReplacementsYamlTest.cpp
RewriterTest.cpp
RewriterTestContext.h Tooling: Migrate some tests to FileEntryRef, NFC 2020-12-10 18:05:03 -08:00
SourceCodeBuildersTest.cpp [libTooling] Adds more support for constructing object access expressions. 2022-01-25 19:43:36 +00:00
SourceCodeTest.cpp Fixed a number of typos 2022-08-01 13:13:18 -04:00
StandardLibraryTest.cpp [Testing] TestAST, a helper for writing straight-line AST tests 2022-04-21 21:46:45 +02:00
StencilTest.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
TestVisitor.h
ToolingTest.cpp [clang][tooling] Allow -cc1 arguments in ToolInvocation 2022-08-24 19:51:12 -07:00
TransformerTest.cpp Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00