| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 30 using MatchResult = MatchFinder::MatchResult; typedef 142 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in node() 155 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in statement() 189 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in member() 201 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in name() 261 Expected<CharSourceRange> operator()(const MatchResult &Result) { in operator ()() 278 CharSourceRange getStatementsRange(const MatchResult &, in getStatementsRange() argument 291 CharSourceRange getCallArgumentsRange(const MatchResult &Result, in getCallArgumentsRange() 307 CharSourceRange getElementsRange(const MatchResult &, in getElementsRange() argument 320 CharSourceRange getElseRange(const MatchResult &Result, const IfStmt &S) { in getElseRange() [all …]
|
| H A D | RewriteRule.cpp | 30 using MatchResult = MatchFinder::MatchResult; typedef 35 translateEdits(const MatchResult &Result, ArrayRef<ASTEdit> ASTEdits) { in translateEdits() 79 return [Edits = std::move(Edits)](const MatchResult &Result) { in editList() 85 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit() 91 return [Anchor = std::move(Anchor)](const MatchResult &Result) in noopEdit() 147 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in eval() argument 279 void run(const MatchFinder::MatchResult &Result) override { in run() 301 const MatchResult &Result) { in rewriteDescendantsImpl() 311 const MatchResult &Result) { in rewriteDescendants() 317 const MatchResult &Result) { in rewriteDescendants() [all …]
|
| H A D | Transformer.cpp | 27 const ast_matchers::MatchFinder::MatchResult &Result) { in onMatch() 37 const MatchFinder::MatchResult &Result) { in convertToAtomicChanges() 76 void Transformer::run(const MatchFinder::MatchResult &Result) { in run()
|
| H A D | Stencil.cpp | 46 static Error printNode(StringRef Id, const MatchFinder::MatchResult &Match, in printNode() 76 Error eval(const MatchFinder::MatchResult &Match, in eval() 94 Error eval(const MatchFinder::MatchResult &Match, in eval() 144 Error eval(const MatchFinder::MatchResult &Match, in eval() 221 Error eval(const MatchFinder::MatchResult &Match, in eval() 275 Error eval(const MatchFinder::MatchResult &Match, in eval() 307 Error eval(const MatchFinder::MatchResult &Match, in eval() 333 llvm::Error eval(const MatchFinder::MatchResult &match, in eval() 397 Error eval(const MatchFinder::MatchResult &Match, in eval() 414 Error eval(const MatchFinder::MatchResult &Match, in eval()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 330 const MatchFinder::MatchResult &, in transferMakeOptionalCall() argument 338 const MatchFinder::MatchResult &, in transferOptionalHasValueCall() argument 386 const MatchFinder::MatchResult &Result, in transferValueOrNotEqX() 459 const CXXConstructExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionConstructor() 492 const MatchFinder::MatchResult &, in transferNulloptAssignment() argument 532 const MatchFinder::MatchResult &, in transferSwapCall() argument 578 const MatchFinder::MatchResult &, in transferOptionalAndOptionalCmp() argument 656 [](const CXXConstructExpr *E, const MatchFinder::MatchResult &, in buildTransferMatchSwitch() 691 const MatchFinder::MatchResult &, in buildTransferMatchSwitch() argument 699 const MatchFinder::MatchResult &, in buildTransferMatchSwitch() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | MatchConsumer.h | 35 std::function<Expected<T>(const ast_matchers::MatchFinder::MatchResult &)>; 49 return [=](const ast_matchers::MatchFinder::MatchResult &Result) { in ifBound() 72 virtual llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &Match, 77 llvm::Expected<T> eval(const ast_matchers::MatchFinder::MatchResult &R) const; 95 const ast_matchers::MatchFinder::MatchResult &R) const { in eval()
|
| H A D | Transformer.h | 29 void onMatch(const ast_matchers::MatchFinder::MatchResult &Result); 39 const ast_matchers::MatchFinder::MatchResult &Result); 43 onMatchImpl(const ast_matchers::MatchFinder::MatchResult &Result) = 0; 108 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 121 const ast_matchers::MatchFinder::MatchResult &Match, 161 void onMatchImpl(const ast_matchers::MatchFinder::MatchResult &Result) final {
|
| H A D | RewriteRule.h | 114 AnyGenerator Metadata = [](const ast_matchers::MatchFinder::MatchResult &) 247 const ast_matchers::MatchFinder::MatchResult &R) -> llvm::Any { in withMetadata() 494 const ast_matchers::MatchFinder::MatchResult &Result); 498 const ast_matchers::MatchFinder::MatchResult &Result); 502 const ast_matchers::MatchFinder::MatchResult &Result); 506 const ast_matchers::MatchFinder::MatchResult &Result); 530 getRuleMatchLoc(const ast_matchers::MatchFinder::MatchResult &Result); 534 size_t findSelectedCase(const ast_matchers::MatchFinder::MatchResult &Result,
|
| H A D | RangeSelector.h | 30 return [R](const ast_matchers::MatchFinder::MatchResult &) in charRange()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | RefactoringCallbacks.h | 81 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 98 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 116 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 129 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | MatchSwitch.h | 69 const T *, const ast_matchers::MatchFinder::MatchResult &, State &)>; 112 const ast_matchers::MatchFinder::MatchResult &R, in CaseOf() 133 ast_matchers::MatchFinder::MatchResult(Results[0], &Context), S); in Build()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 75 struct MatchResult { struct 76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context); 97 virtual void run(const MatchResult &Result) = 0; argument 289 void run(const MatchFinder::MatchResult &Result) override { in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/ |
| H A D | FileCheck.cpp | 1183 return MatchResult(TheMatch, Error::success()); in match() 1977 Pattern::MatchResult MatchResult, in printMatch() argument 2029 handleAllErrors(std::move(MatchResult.TheError), in printMatch() 2130 Pattern::MatchResult MatchResult, in reportMatchResult() argument 2133 if (MatchResult.TheMatch) in reportMatchResult() 2191 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); in Check() local 2201 size_t MatchPos = MatchResult.TheMatch->Pos; in Check() 2314 Pattern::MatchResult MatchResult = NotInfo->DagNotPat.match(Buffer, SM); in CheckNot() local 2371 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); in CheckDag() local 2383 MatchLen = MatchResult.TheMatch->Len; in CheckDag() [all …]
|
| H A D | FileCheckImpl.h | 689 struct MatchResult { struct 692 MatchResult(size_t MatchPos, size_t MatchLen, Error E) in MatchResult() argument 694 MatchResult(Match M, Error E) : TheMatch(M), TheError(std::move(E)) {} in MatchResult() argument 695 MatchResult(Error E) : TheError(std::move(E)) {} in MatchResult() argument 708 MatchResult match(StringRef Buffer, const SourceMgr &SM) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 89 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 107 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 127 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 199 const ast_matchers::MatchFinder::MatchResult &Result) { in run()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DumpTool/ |
| H A D | ASTSrcLocProcessor.h | 36 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
| H A D | ASTSrcLocProcessor.cpp | 144 const MatchFinder::MatchResult &Result) { in CaptureMethods() 198 void ASTSrcLocProcessor::run(const MatchFinder::MatchResult &Result) { in run()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 445 IncrementGadget(const MatchFinder::MatchResult &Result) in IncrementGadget() 480 DecrementGadget(const MatchFinder::MatchResult &Result) in DecrementGadget() 514 ArraySubscriptGadget(const MatchFinder::MatchResult &Result) in ArraySubscriptGadget() 559 PointerArithmeticGadget(const MatchFinder::MatchResult &Result) in PointerArithmeticGadget() 609 PointerInitGadget(const MatchFinder::MatchResult &Result) in PointerInitGadget() 660 PointerAssignmentGadget(const MatchFinder::MatchResult &Result) in PointerAssignmentGadget() 733 DataInvocationGadget(const MatchFinder::MatchResult &Result) in DataInvocationGadget() 763 ULCArraySubscriptGadget(const MatchFinder::MatchResult &Result) in ULCArraySubscriptGadget() 1029 UPCPreIncrementGadget(const MatchFinder::MatchResult &Result) in UPCPreIncrementGadget() 1072 UUCAddAssignGadget(const MatchFinder::MatchResult &Result) in UUCAddAssignGadget() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 60 void run(const MatchFinder::MatchResult &Result) override; 64 void Callback::run(const MatchFinder::MatchResult &Result) { in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 975 ParseStatus MatchResult = MatchOperandParserImpl(Operands, Name); in ParseInstruction() local 976 if (MatchResult.isSuccess()) in ParseInstruction() 1033 unsigned MatchResult = in MatchAndEmitInstruction() local 1036 switch (MatchResult) { in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 261 unsigned MatchResult = in MatchAndEmitInstruction() local 264 switch (MatchResult) { in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 328 unsigned MatchResult = in MatchAndEmitInstruction() local 331 switch (MatchResult) { in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1271 Callback->run(MatchFinder::MatchResult(BoundNodesView, Context)); in visitMatch() 1572 MatchFinder::MatchResult::MatchResult(const BoundNodes &Nodes, in MatchResult() function in clang::ast_matchers::MatchFinder::MatchResult
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 1525 unsigned MatchResult; in MatchAndEmitInstruction() local 1530 MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction() 1532 switch (MatchResult) { in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 1025 unsigned MatchResult = MatchInstructionImpl( in MatchAndEmitInstruction() local 1027 switch (MatchResult) { in MatchAndEmitInstruction()
|