Home
last modified time | relevance | path

Searched defs:Visitor (Results 1 – 25 of 224) sorted by relevance

123456789

/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.cpp428 struct Visitor : public ConstStmtVisitor<Visitor> { in add() struct
429 TargetFinder &Outer; in add()
430 RelSet Flags; in add()
431 Visitor(TargetFinder &Outer, RelSet Flags) : Outer(Outer), Flags(Flags) {} in add() argument
433 void VisitCallExpr(const CallExpr *CE) { in add()
436 void VisitConceptSpecializationExpr(const ConceptSpecializationExpr *E) { in add()
439 void VisitDeclRefExpr(const DeclRefExpr *DRE) { in add()
447 void VisitMemberExpr(const MemberExpr *ME) { in add()
454 void VisitOverloadExpr(const OverloadExpr *OE) { in add()
458 void VisitSizeOfPackExpr(const SizeOfPackExpr *SE) { in add()
[all …]
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DDeclRefExpr.cpp35 DeclRefExprVisitor Visitor; in TEST() local
42 DeclRefExprVisitor Visitor; in TEST() local
52 DeclRefExprVisitor Visitor; in TEST() local
59 DeclRefExprVisitor Visitor; in TEST() local
67 DeclRefExprVisitor Visitor; in TEST() local
75 DeclRefExprVisitor Visitor; in TEST() local
88 DeclRefExprVisitor Visitor; in TEST() local
108 DeclRefExprVisitor Visitor; in TEST() local
115 DeclRefExprVisitor Visitor; in TEST() local
DCXXMemberCall.cpp26 CXXMemberCallVisitor Visitor; in TEST() local
37 CXXMemberCallVisitor Visitor; in TEST() local
50 CXXMemberCallVisitor Visitor; in TEST() local
68 CXXMemberCallVisitor Visitor; in TEST() local
85 CXXMemberCallVisitor Visitor; in TEST() local
DLambdaExpr.cpp50 LambdaExprVisitor Visitor; in TEST() local
59 LambdaExprVisitor Visitor; in TEST() local
69 LambdaExprVisitor Visitor; in TEST() local
80 LambdaExprVisitor Visitor; in TEST() local
92 LambdaExprVisitor Visitor; in TEST() local
/external/llvm-project/clang/unittests/Tooling/
DRecursiveASTVisitorTestTypeLocVisitor.cpp24 TypeLocVisitor Visitor; in TEST() local
30 TypeLocVisitor Visitor; in TEST() local
39 TypeLocVisitor Visitor; in TEST() local
47 TypeLocVisitor Visitor; in TEST() local
55 TypeLocVisitor Visitor; in TEST() local
64 TypeLocVisitor Visitor; in TEST() local
72 TypeLocVisitor Visitor; in TEST() local
81 TypeLocVisitor Visitor; in TEST() local
DRecursiveASTVisitorTestDeclVisitor.cpp24 VarDeclVisitor Visitor; in TEST() local
46 ParmVarDeclVisitorForImplicitCode Visitor; in TEST() local
81 NamedDeclVisitor Visitor; in TEST() local
92 NamedDeclVisitor Visitor; in TEST() local
100 NamedDeclVisitor Visitor; in TEST() local
110 NamedDeclVisitor Visitor; in TEST() local
118 NamedDeclVisitor Visitor; in TEST() local
129 NamedDeclVisitor Visitor; in TEST() local
DSourceCodeTest.cpp122 CallsVisitor Visitor; in TEST() local
137 CallsVisitor Visitor; in TEST() local
162 CallsVisitor Visitor; in TEST() local
200 ExtendTokenRangeVisitor Visitor; in TEST() local
220 ExtendCharRangeVisitor Visitor; in TEST() local
232 VarDeclsVisitor Visitor; in TEST() local
266 RecordDeclsVisitor Visitor; in TEST() local
284 CXXRecordDeclsVisitor Visitor; in TEST() local
298 FunctionDeclsVisitor Visitor; in TEST() local
314 CXXMethodDeclsVisitor Visitor; in TEST() local
[all …]
DCommentHandlerTest.cpp69 CommentHandlerAction(CommentHandlerVisitor *Visitor) in CommentHandlerAction()
132 CommentHandlerVisitor Visitor; in TEST() local
138 CommentHandlerVisitor Visitor; in TEST() local
146 CommentHandlerVisitor Visitor; in TEST() local
159 CommentHandlerVisitor Visitor; in TEST() local
170 CommentHandlerVisitor Visitor; in TEST() local
205 CommentHandlerVisitor Visitor; in TEST() local
212 CommentHandlerVisitor Visitor; in TEST() local
DFixItTest.cpp35 CallsVisitor Visitor; in TEST() local
56 CallsVisitor Visitor; in TEST() local
81 CallsVisitor Visitor; in TEST() local
116 CallsVisitor Visitor; in TEST() local
159 CallsVisitor Visitor; in TEST() local
189 CallsVisitor Visitor; in TEST() local
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestTypeLocVisitor.cpp26 TypeLocVisitor Visitor; in TEST() local
32 TypeLocVisitor Visitor; in TEST() local
41 TypeLocVisitor Visitor; in TEST() local
49 TypeLocVisitor Visitor; in TEST() local
57 TypeLocVisitor Visitor; in TEST() local
66 TypeLocVisitor Visitor; in TEST() local
74 TypeLocVisitor Visitor; in TEST() local
83 TypeLocVisitor Visitor; in TEST() local
DRecursiveASTVisitorTestDeclVisitor.cpp26 VarDeclVisitor Visitor; in TEST() local
48 ParmVarDeclVisitorForImplicitCode Visitor; in TEST() local
83 NamedDeclVisitor Visitor; in TEST() local
94 NamedDeclVisitor Visitor; in TEST() local
102 NamedDeclVisitor Visitor; in TEST() local
112 NamedDeclVisitor Visitor; in TEST() local
120 NamedDeclVisitor Visitor; in TEST() local
131 NamedDeclVisitor Visitor; in TEST() local
DRecursiveASTVisitorTestExprVisitor.cpp26 ParenExprVisitor Visitor; in TEST() local
47 TemplateArgumentLocTraverser Visitor; in TEST() local
68 CXXBoolLiteralExprVisitor Visitor; in TEST() local
93 ImplicitCtorVisitor Visitor; in TEST() local
134 ConstructExprVisitor Visitor; in TEST() local
150 ConstructExprVisitor Visitor; in TEST() local
172 DeclRefExprVisitor Visitor; in TEST() local
179 DeclRefExprVisitor Visitor; in TEST() local
189 DeclRefExprVisitor Visitor; in TEST() local
208 DeclRefExprVisitor Visitor; in TEST() local
[all …]
DRecursiveASTVisitorTestCallVisitor.cpp28 CXXMemberCallVisitor Visitor; in TEST() local
39 CXXMemberCallVisitor Visitor; in TEST() local
52 CXXMemberCallVisitor Visitor; in TEST() local
70 CXXMemberCallVisitor Visitor; in TEST() local
87 CXXMemberCallVisitor Visitor; in TEST() local
112 CXXOperatorCallExprTraverser Visitor; in TEST() local
DRecursiveASTVisitorTest.cpp42 LambdaExprVisitor Visitor; in TEST() local
49 LambdaExprVisitor Visitor; in TEST() local
68 LambdaDefaultCaptureVisitor Visitor; in TEST() local
94 ClassVisitor Visitor; in TEST() local
120 AttrVisitor Visitor; in TEST() local
146 VarDeclVisitor Visitor; in TEST() local
DCommentHandlerTest.cpp70 CommentHandlerAction(CommentHandlerVisitor *Visitor) in CommentHandlerAction()
134 CommentHandlerVisitor Visitor; in TEST() local
140 CommentHandlerVisitor Visitor; in TEST() local
148 CommentHandlerVisitor Visitor; in TEST() local
161 CommentHandlerVisitor Visitor; in TEST() local
172 CommentHandlerVisitor Visitor; in TEST() local
207 CommentHandlerVisitor Visitor; in TEST() local
214 CommentHandlerVisitor Visitor; in TEST() local
DFixItTest.cpp36 CallsVisitor Visitor; in TEST() local
57 CallsVisitor Visitor; in TEST() local
82 CallsVisitor Visitor; in TEST() local
117 CallsVisitor Visitor; in TEST() local
160 CallsVisitor Visitor; in TEST() local
190 CallsVisitor Visitor; in TEST() local
/external/llvm-project/clang-tools-extra/clangd/unittests/
DPrintASTTests.cpp36 struct Visitor : RecursiveASTVisitor<Visitor> { in TEST_P() struct
37 Visitor(std::vector<Position> Points) : Points(std::move(Points)) {} in TEST_P() function
38 bool VisitNamedDecl(const NamedDecl *ND) { in TEST_P()
48 std::vector<std::string> TemplateArgsAtPoints; in TEST_P()
49 const std::vector<Position> Points; in TEST_P()
DTestTU.cpp212 struct Visitor : RecursiveASTVisitor<Visitor> { in findDecl() struct
213 decltype(Filter) F; in findDecl()
214 llvm::SmallVector<const NamedDecl *, 1> Decls; in findDecl()
215 bool VisitNamedDecl(const NamedDecl *ND) { in findDecl()
220 } Visitor; in findDecl() local
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbackPipeline.h26 for (auto Visitor : Pipeline) { in visitUnknownType() local
34 for (auto Visitor : Pipeline) { in visitUnknownMember() local
42 for (auto Visitor : Pipeline) { in visitTypeBegin() local
50 for (auto Visitor : Pipeline) { in visitTypeBegin() local
58 for (auto Visitor : Pipeline) { in visitTypeEnd() local
66 for (auto Visitor : Pipeline) { in visitMemberBegin() local
74 for (auto Visitor : Pipeline) { in visitMemberEnd() local
100 for (auto Visitor : Pipeline) { in visitKnownRecordImpl() local
109 for (auto Visitor : Pipeline) { in visitKnownMemberImpl() local
DSymbolVisitorCallbackPipeline.h25 for (auto Visitor : Pipeline) { in visitUnknownSymbol() local
33 for (auto Visitor : Pipeline) { in visitSymbolBegin() local
41 for (auto Visitor : Pipeline) { in visitSymbolBegin() local
49 for (auto Visitor : Pipeline) { in visitSymbolEnd() local
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbackPipeline.h26 for (auto Visitor : Pipeline) { in visitUnknownType() local
34 for (auto Visitor : Pipeline) { in visitUnknownMember() local
42 for (auto Visitor : Pipeline) { in visitTypeBegin() local
50 for (auto Visitor : Pipeline) { in visitTypeBegin() local
58 for (auto Visitor : Pipeline) { in visitTypeEnd() local
66 for (auto Visitor : Pipeline) { in visitMemberBegin() local
74 for (auto Visitor : Pipeline) { in visitMemberEnd() local
100 for (auto Visitor : Pipeline) { in visitKnownRecordImpl() local
109 for (auto Visitor : Pipeline) { in visitKnownMemberImpl() local
DSymbolVisitorCallbackPipeline.h25 for (auto Visitor : Pipeline) { in visitUnknownSymbol() local
33 for (auto Visitor : Pipeline) { in visitSymbolBegin() local
41 for (auto Visitor : Pipeline) { in visitSymbolBegin() local
49 for (auto Visitor : Pipeline) { in visitSymbolEnd() local
/external/llvm-project/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp55 struct Visitor : public RecursiveASTVisitor<Visitor> { in HandleTranslationUnit() struct
56 const std::set<std::string> &ParsedTemplates; in HandleTranslationUnit()
57 Visitor(const std::set<std::string> &ParsedTemplates) in HandleTranslationUnit() argument
59 bool VisitFunctionDecl(FunctionDecl *FD) { in HandleTranslationUnit()
66 std::set<FunctionDecl*> LateParsedDecls; in HandleTranslationUnit()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp56 struct Visitor : public RecursiveASTVisitor<Visitor> { in HandleTranslationUnit() struct
57 const std::set<std::string> &ParsedTemplates; in HandleTranslationUnit()
58 Visitor(const std::set<std::string> &ParsedTemplates) in HandleTranslationUnit() argument
60 bool VisitFunctionDecl(FunctionDecl *FD) { in HandleTranslationUnit()
67 std::set<FunctionDecl*> LateParsedDecls; in HandleTranslationUnit()
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBM.cpp31 struct Visitor : public SDBMVisitor<Visitor> { in collectSDBMBuildInfo() struct
32 void visitDim(SDBMDimExpr dimExpr) { in collectSDBMBuildInfo()
37 void visitSymbol(SDBMSymbolExpr symbExpr) { in collectSDBMBuildInfo()
42 void visitStripe(SDBMStripeExpr stripeExpr) { stripes.insert(stripeExpr); } in collectSDBMBuildInfo()
44 Visitor(llvm::SmallSetVector<SDBMExpr, 8> &stripes) : stripes(stripes) {} in collectSDBMBuildInfo() function
46 int maxDimPosition = -1; in collectSDBMBuildInfo()
47 int maxSymbPosition = -1; in collectSDBMBuildInfo()
48 llvm::SmallSetVector<SDBMExpr, 8> &stripes; in collectSDBMBuildInfo()

123456789