Searched refs:UsingDeclaration (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/lib/Format/ |
D | UsingDeclarationsSorter.cpp | 67 struct UsingDeclaration { struct 71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() argument 74 bool operator<(const UsingDeclaration &Other) const { in operator <() argument 115 SmallVectorImpl<UsingDeclaration> *UsingDeclarations, in endUsingDeclarationBlock() 118 for (const UsingDeclaration &Declaration : *UsingDeclarations) { in endUsingDeclarationBlock() 128 SmallVector<UsingDeclaration, 4> SortedUsingDeclarations( in endUsingDeclarationBlock() 134 [](const UsingDeclaration &a, const UsingDeclaration &b) { in endUsingDeclarationBlock() 190 SmallVector<UsingDeclaration, 4> UsingDeclarations; in analyze() 207 UsingDeclarations.push_back(UsingDeclaration(AnnotatedLines[I], Label)); in analyze()
|
/external/llvm-project/clang/include/clang/Tooling/Syntax/ |
D | Nodes.h | 466 class UsingDeclaration final : public Declaration { 468 UsingDeclaration() : Declaration(NodeKind::UsingDeclaration) {} in UsingDeclaration() function
|
D | Nodes.td | 250 def UsingDeclaration : External<Declaration> {}
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.h | 81 const UsingDecl *UsingDeclaration);
|
D | ChangeNamespace.cpp | 928 const UsingDecl *UsingDeclaration) { in fixUsingShadowDecl() argument 929 SourceLocation Start = UsingDeclaration->getBeginLoc(); in fixUsingShadowDecl() 930 SourceLocation End = UsingDeclaration->getEndLoc(); in fixUsingShadowDecl() 934 assert(UsingDeclaration->shadow_size() > 0); in fixUsingShadowDecl() 937 UsingDeclaration->shadow_begin()->getTargetDecl(); in fixUsingShadowDecl()
|
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | Synthesis.cpp | 158 case syntax::NodeKind::UsingDeclaration: in allocateTree() 159 return new (A.getAllocator()) syntax::UsingDeclaration; in allocateTree()
|
D | BuildTree.cpp | 1522 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUsingDecl() 1528 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingValueDecl() 1534 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingTypenameDecl()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1018 TEST(UsingDeclaration, MatchesUsingDeclarations) { in TEST() argument 1023 TEST(UsingDeclaration, MatchesShadowUsingDelcarations) { in TEST() argument
|
D | ASTMatchersTraversalTest.cpp | 1257 TEST(UsingDeclaration, MatchesSpecificTarget) { in TEST() argument 1266 TEST(UsingDeclaration, ThroughUsingDeclaration) { in TEST() argument
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 3198 TEST(UsingDeclaration, MatchesSpecificTarget) { in TEST() argument 3207 TEST(UsingDeclaration, ThroughUsingDeclaration) { in TEST() argument
|