Home
last modified time | relevance | path

Searched refs:UsingDeclaration (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/Format/
DUsingDeclarationsSorter.cpp67 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/
DNodes.h466 class UsingDeclaration final : public Declaration {
468 UsingDeclaration() : Declaration(NodeKind::UsingDeclaration) {} in UsingDeclaration() function
DNodes.td250 def UsingDeclaration : External<Declaration> {}
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.h81 const UsingDecl *UsingDeclaration);
DChangeNamespace.cpp928 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/
DSynthesis.cpp158 case syntax::NodeKind::UsingDeclaration: in allocateTree()
159 return new (A.getAllocator()) syntax::UsingDeclaration; in allocateTree()
DBuildTree.cpp1522 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/
DASTMatchersNodeTest.cpp1018 TEST(UsingDeclaration, MatchesUsingDeclarations) { in TEST() argument
1023 TEST(UsingDeclaration, MatchesShadowUsingDelcarations) { in TEST() argument
DASTMatchersTraversalTest.cpp1257 TEST(UsingDeclaration, MatchesSpecificTarget) { in TEST() argument
1266 TEST(UsingDeclaration, ThroughUsingDeclaration) { in TEST() argument
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp3198 TEST(UsingDeclaration, MatchesSpecificTarget) { in TEST() argument
3207 TEST(UsingDeclaration, ThroughUsingDeclaration) { in TEST() argument