Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp94 struct UsingDeclaration { struct
98 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() function
138 SmallVectorImpl<UsingDeclaration> *UsingDeclarations, in endUsingDeclarationBlock()
142 for (const UsingDeclaration &Declaration : *UsingDeclarations) { in endUsingDeclarationBlock()
152 SmallVector<UsingDeclaration, 4> SortedUsingDeclarations( in endUsingDeclarationBlock()
154 auto Comp = [SortUsingDeclarations](const UsingDeclaration &Lhs, in endUsingDeclarationBlock()
155 const UsingDeclaration &Rhs) -> bool { in endUsingDeclarationBlock()
162 [](const UsingDeclaration &a, const UsingDeclaration &b) { in endUsingDeclarationBlock()
218 SmallVector<UsingDeclaration, 4> UsingDeclarations; in analyze()
239 UsingDeclarations.push_back(UsingDeclaration(Line, Label)); in analyze()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h461 class UsingDeclaration final : public Declaration {
463 UsingDeclaration() : Declaration(NodeKind::UsingDeclaration) {} in UsingDeclaration() function
H A DNodes.td250 def UsingDeclaration : External<Declaration> {}
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DSynthesis.cpp165 case syntax::NodeKind::UsingDeclaration: in allocateTree()
166 return new (A.getAllocator()) syntax::UsingDeclaration; in allocateTree()
H A DBuildTree.cpp1562 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUsingDecl()
1568 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingValueDecl()
1574 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingTypenameDecl()