HomeSort by: relevance | last modified time | path
    Searched refs:MatchResult (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
MatchConsumer.h 10 /// match results, specifically the `ast_matchers::MatchFinder::MatchResult`
35 std::function<Expected<T>(const ast_matchers::MatchFinder::MatchResult &)>;
49 return [=](const ast_matchers::MatchFinder::MatchResult &Result) {
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 {
Transformer.h 42 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
RewriteRule.h 111 AnyGenerator Metadata = [](const ast_matchers::MatchFinder::MatchResult &)
230 // Note: This function template accepts any type callable with a MatchResult
232 // it accepted a `std::function<R(MatchResult)>`, lambdas or other callable
240 const ast_matchers::MatchFinder::MatchResult &R) -> llvm::Any {
395 /// For example, assuming that "body" is bound to a function body in MatchResult
407 const ast_matchers::MatchFinder::MatchResult &Result);
411 const ast_matchers::MatchFinder::MatchResult &Result);
415 const ast_matchers::MatchFinder::MatchResult &Result);
419 const ast_matchers::MatchFinder::MatchResult &Result);
442 getRuleMatchLoc(const ast_matchers::MatchFinder::MatchResult &Result)
    [all...]
RangeSelector.h 30 return [R](const ast_matchers::MatchFinder::MatchResult &)
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
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;
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
RangeSelector.cpp 30 using MatchResult = MatchFinder::MatchResult;
107 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
116 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
142 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
155 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
165 return [Begin, End](const MatchResult &Result) -> Expected<CharSourceRange> {
189 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
201 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
252 template <typename T, CharSourceRange (*Func)(const MatchResult &, const T &)
    [all...]
RewriteRule.cpp 31 using MatchResult = MatchFinder::MatchResult;
36 translateEdits(const MatchResult &Result, ArrayRef<ASTEdit> ASTEdits) {
70 return [Edits = std::move(Edits)](const MatchResult &Result) {
76 return [Edit = std::move(Edit)](const MatchResult &Result) {
82 return [Anchor = std::move(Anchor)](const MatchResult &Result)
105 const MatchResult &Result) -> llvm::Expected<SmallVector<Edit, 1>> {
131 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &,
247 void run(const MatchFinder::MatchResult &Result) override {
270 const MatchResult &Result)
    [all...]
Transformer.cpp 29 void Transformer::run(const MatchFinder::MatchResult &Result) {
Stencil.cpp 175 Error evalData(const RawTextData &Data, const MatchFinder::MatchResult &,
181 static Error printNode(StringRef Id, const MatchFinder::MatchResult &Match,
194 const MatchFinder::MatchResult &Match, std::string *Result) {
217 const MatchFinder::MatchResult &Match, std::string *Result) {
283 Error evalData(const SelectorData &Data, const MatchFinder::MatchResult &Match,
319 Error evalData(const AccessData &Data, const MatchFinder::MatchResult &Match,
352 Error evalData(const IfBoundData &Data, const MatchFinder::MatchResult &Match,
360 const MatchFinder::MatchResult &Match, std::string *Result) {
368 Error evalData(const SequenceData &Data, const MatchFinder::MatchResult &Match,
383 Error eval(const MatchFinder::MatchResult &Match
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/DumpTool/
ASTSrcLocProcessor.h 36 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
ASTSrcLocProcessor.cpp 144 const MatchFinder::MatchResult &Result) {
198 void ASTSrcLocProcessor::run(const MatchFinder::MatchResult &Result) {
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 23 // virtual void Run(const MatchFinder::MatchResult &Result) {
73 /// MatchCallback with a MatchResult containing information about the match.
74 struct MatchResult {
75 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
96 virtual void run(const MatchResult &Result) = 0;
286 void run(const MatchFinder::MatchResult &Result) override {
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
RefactoringCallbacks.cpp 89 const ast_matchers::MatchFinder::MatchResult &Result) {
107 const ast_matchers::MatchFinder::MatchResult &Result) {
127 const ast_matchers::MatchFinder::MatchResult &Result) {
199 const ast_matchers::MatchFinder::MatchResult &Result) {
226 llvm::report_fatal_error("FromId node not bound in MatchResult");
  /src/external/apache2/llvm/dist/llvm/lib/FileCheck/
FileCheckImpl.h 738 struct MatchResult {
741 MatchResult(size_t MatchPos, size_t MatchLen, Error E)
743 MatchResult(Match M, Error E) : TheMatch(M), TheError(std::move(E)) {}
744 MatchResult(Error E) : TheError(std::move(E)) {}
757 MatchResult match(StringRef Buffer, const SourceMgr &SM) const;
FileCheck.cpp 1223 Pattern::MatchResult Pattern::match(StringRef Buffer,
1227 return MatchResult(Buffer.size(), 0, Error::success());
1235 return MatchResult(Pos, /*MatchLen=*/FixedStr.size(), Error::success());
1329 return MatchResult(TheMatch, Value.takeError());
1333 return MatchResult(TheMatch, Error::success());
2048 Pattern::MatchResult MatchResult,
2052 bool HasError = !ExpectedMatch || MatchResult.TheError;
2070 Buffer, MatchResult.TheMatch->Pos,
2071 MatchResult.TheMatch->Len, Diags)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
NumberObjectConversionChecker.cpp 60 void run(const MatchFinder::MatchResult &Result) override;
64 void Callback::run(const MatchFinder::MatchResult &Result) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
AVRAsmParser.cpp 321 unsigned MatchResult =
324 switch (MatchResult) {
627 auto MatchResult = MatchOperandParserImpl(Operands, Mnemonic);
629 if (MatchResult == MatchOperand_Success) {
633 if (MatchResult == MatchOperand_ParseFail) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/AsmParser/
M68kAsmParser.cpp 765 auto MatchResult = MatchOperandParserImpl(Operands, Name);
766 if (MatchResult == MatchOperand_Success) {
826 unsigned MatchResult =
829 switch (MatchResult) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
MSP430AsmParser.cpp 259 unsigned MatchResult =
262 switch (MatchResult) {
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 1040 Callback->run(MatchFinder::MatchResult(BoundNodesView, Context));
1324 MatchFinder::MatchResult::MatchResult(const BoundNodes &Nodes,
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
WebAssemblyAsmParser.cpp 977 unsigned MatchResult = MatchInstructionImpl(
979 switch (MatchResult) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
SystemZAsmParser.cpp 1499 unsigned MatchResult;
1504 MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures,
1506 switch (MatchResult) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp 5033 unsigned MatchResult =
5039 if (MatchResult != Match_Success) {
5043 auto ShortFormNEONMatchResult = MatchResult;
5046 MatchResult =
5053 if (MatchResult == Match_InvalidOperand && ErrorInfo == 1 &&
5056 MatchResult = ShortFormNEONMatchResult;
5062 switch (MatchResult) {
5090 return showMatchError(IDLoc, MatchResult, ErrorInfo, Operands);
5107 MatchResult = Match_InvalidSuffix;
5109 return showMatchError(ErrorLoc, MatchResult, ErrorInfo, Operands)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateInstantiate.cpp 3070 typedef PartialSpecMatchResult MatchResult;
3071 SmallVector<MatchResult, 4> Matched;
3098 SmallVectorImpl<MatchResult>::iterator Best = Matched.begin();
3111 for (SmallVectorImpl<MatchResult>::iterator P = Best + 1,
3123 for (SmallVectorImpl<MatchResult>::iterator P = Matched.begin(),
3143 for (SmallVectorImpl<MatchResult>::iterator P = Matched.begin(),
  /src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/AsmParser/
SparcAsmParser.cpp 638 unsigned MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
640 switch (MatchResult) {

Completed in 72 milliseconds

1 2