Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp67 struct UsingDeclaration { struct
71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() function
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(Line, Label)); in analyze()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpClass.cpp26 declare<UsingDeclaration>("Op::Op"); in OpClass()
27 declare<UsingDeclaration>("Op::print"); in OpClass()
29 declare<UsingDeclaration>("Adaptor", className + "Adaptor"); in OpClass()
H A DAttrOrTypeDefGen.cpp230 defCls.declare<UsingDeclaration>("Base::Base"); in emitTopLevelDeclarations()
253 defCls.declare<UsingDeclaration>("Base::getChecked"); in emitVerifier()
492 storageCls->declare<UsingDeclaration>("KeyTy", std::move(os.str())); in emitKeyType()
/llvm-project-15.0.7/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> {}
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h248 UsingDeclaration, enumerator
478 class UsingDeclaration
479 : public ClassDeclarationBase<ClassDeclaration::UsingDeclaration> {
484 UsingDeclaration(NameT &&name, ValueT &&value = "")
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.h81 const UsingDecl *UsingDeclaration);
H A 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()
/llvm-project-15.0.7/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.cpp1561 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUsingDecl()
1567 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingValueDecl()
1573 new (allocator()) syntax::UsingDeclaration, S); in WalkUpFromUnresolvedUsingTypenameDecl()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp230 void UsingDeclaration::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp4662 TEST(UsingDeclaration, MatchesSpecificTarget) { in TEST() argument
4671 TEST(UsingDeclaration, ThroughUsingDeclaration) { in TEST() argument