Home
last modified time | relevance | path

Searched refs:Matched (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeVarargCheck.cpp111 if (const auto *Matched = Result.Nodes.getNodeAs<CallExpr>("callvararg")) { in check() local
112 if (hasSingleVariadicArgumentWithValue(Matched, 0)) in check()
114 diag(Matched->getExprLoc(), "do not call c-style vararg functions"); in check()
117 if (const auto *Matched = Result.Nodes.getNodeAs<Expr>("va_use")) { in check() local
118 diag(Matched->getExprLoc(), in check()
123 if (const auto *Matched = Result.Nodes.getNodeAs<VarDecl>("va_list")) { in check() local
124 auto SR = Matched->getSourceRange(); in check()
DProBoundsConstantArrayIndexCheck.cpp60 const auto *Matched = Result.Nodes.getNodeAs<Expr>("expr"); in check() local
70 if (const auto *ArraySubscriptE = dyn_cast<ArraySubscriptExpr>(Matched)) in check()
74 dyn_cast<CXXOperatorCallExpr>(Matched)->getArg(0)->getSourceRange(); in check()
77 auto Diag = diag(Matched->getExprLoc(), in check()
87 << FixItHint::CreateReplacement(Matched->getEndLoc(), ")") in check()
101 diag(Matched->getExprLoc(), "std::array<> index %0 is negative") in check()
118 diag(Matched->getExprLoc(), in check()
DProTypeUnionAccessCheck.cpp27 const auto *Matched = Result.Nodes.getNodeAs<MemberExpr>("expr"); in check() local
28 diag(Matched->getMemberLoc(), in check()
/external/catch2/include/internal/
Dcatch_commandline.cpp39 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
60 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
71 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
77 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
90 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
104 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
116 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
128 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DStringCompareCheck.cpp51 if (const auto *Matched = Result.Nodes.getNodeAs<Stmt>("match1")) { in check() local
52 diag(Matched->getBeginLoc(), CompareMessage); in check()
56 if (const auto *Matched = Result.Nodes.getNodeAs<Stmt>("match2")) { in check() local
64 auto Diag = diag(Matched->getBeginLoc(), CompareMessage); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUnusedReturnValueCheck.cpp170 if (const auto *Matched = Result.Nodes.getNodeAs<CallExpr>("match")) { in check() local
171 diag(Matched->getBeginLoc(), in check()
173 << Matched->getSourceRange(); in check()
174 diag(Matched->getBeginLoc(), in check()
/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.cpp142 auto &Matched = *Syms.begin(); in fixIncompleteType() local
143 if (!Matched.IncludeHeaders.empty() && Matched.Definition && in fixIncompleteType()
144 Matched.CanonicalDeclaration.FileURI == Matched.Definition.FileURI) in fixIncompleteType()
451 auto &Matched = *Syms.begin(); in lookupCached() local
452 if (!Matched.IncludeHeaders.empty() && Matched.Definition && in lookupCached()
453 Matched.CanonicalDeclaration.FileURI == Matched.Definition.FileURI) in lookupCached()
DConfigYAML.cpp187 bool Matched = false; in parse() local
190 Matched = true; in parse()
195 if (!Matched) { in parse()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp34 bool Matched; ///< Is this relocation part of a match. member
36 MipsRelocationEntry(const ELFRelocationEntry &R) : R(R), Matched(false) {} in MipsRelocationEntry()
40 Out << ", Matched=" << Matched; in print()
109 unsigned Matched = Predicate(*I); in find_best() local
110 if (Matched != FindBest_NoMatch) { in find_best()
118 if (Matched == FindBest_PerfectMatch) { in find_best()
174 if (!X.Matched && in isMatchingReloc()
193 return PreviousBest.Matched && !Candidate.Matched; in compareMatchingRelocs()
464 InsertionPoint->Matched = true; in sortRelocs()
465 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp40 bool Matched = false; ///< Is this relocation part of a match. member
46 Out << ", Matched=" << Matched; in print()
116 unsigned Matched = Predicate(*I); in find_best() local
117 if (Matched != FindBest_NoMatch) { in find_best()
125 if (Matched == FindBest_PerfectMatch) { in find_best()
182 if (!X.Matched && in isMatchingReloc()
201 return PreviousBest.Matched && !Candidate.Matched; in compareMatchingRelocs()
491 InsertionPoint->Matched = true; in sortRelocs()
492 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCondition.java34 return new Matched<T>(theValue, mismatch); in matched()
37 private static final class Matched<T> extends Condition<T> { class in Condition
41 private Matched(T theValue, Description mismatch) { in Matched() method in Condition.Matched
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp40 bool Matched = false; ///< Is this relocation part of a match. member
46 Out << ", Matched=" << Matched; in print()
116 unsigned Matched = Predicate(*I); in find_best() local
117 if (Matched != FindBest_NoMatch) { in find_best()
125 if (Matched == FindBest_PerfectMatch) { in find_best()
182 if (!X.Matched && in isMatchingReloc()
201 return PreviousBest.Matched && !Candidate.Matched; in compareMatchingRelocs()
516 InsertionPoint->Matched = true; in sortRelocs()
517 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/pcre/dist2/testdata/
Dtestoutput1891 Matched without capture
117 Matched with REG_NOSUB
121 Matched with REG_NOSUB
125 Matched with REG_NOSUB
170 Matched with REG_NOSUB
/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp61 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName() local
66 if (Matched) in checkAndConsumeDirectiveWithName()
68 return Matched; in checkAndConsumeDirectiveWithName()
125 auto Matched = [&]() { in checkAndConsumeInclusiveDirective() local
134 return Matched(); in checkAndConsumeInclusiveDirective()
139 return Matched(); in checkAndConsumeInclusiveDirective()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedUsingDeclsCheck.cpp30 bool Matched = false; in AST_POLYMORPHIC_MATCHER_P() local
34 Matched = true; in AST_POLYMORPHIC_MATCHER_P()
39 return Matched; in AST_POLYMORPHIC_MATCHER_P()
/external/catch2/third_party/
Dclara.hpp626 Matched, NoMatch, ShortCircuitAll, ShortCircuitSame enumerator
662 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
666 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
677 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
746 return ParserResult::ok( ParseResultType::Matched ); in setFlag()
765 return ParserResult::ok( ParseResultType::Matched ); in invoke()
922 return ParserResult::ok( ParseResultType::Matched ); in set()
947 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
1037 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
/external/catch2/include/external/
Dclara.hpp626 Matched, NoMatch, ShortCircuitAll, ShortCircuitSame enumerator
662 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
666 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
677 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
746 return ParserResult::ok( ParseResultType::Matched ); in setFlag()
765 return ParserResult::ok( ParseResultType::Matched ); in invoke()
922 return ParserResult::ok( ParseResultType::Matched ); in set()
947 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
1037 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
/external/clang/unittests/Tooling/
DToolingTest.cpp204 VerifyEndCallback() : BeginCalled(0), EndCalled(0), Matched(false) {} in VerifyEndCallback()
211 return llvm::make_unique<FindTopLevelDeclConsumer>(&Matched); in newASTConsumer()
215 bool Matched; member
235 EXPECT_TRUE(EndCallback.Matched); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3214 bool Matched = false; in AST_POLYMORPHIC_MATCHER_P2() local
3226 Matched = true; in AST_POLYMORPHIC_MATCHER_P2()
3232 return Matched; in AST_POLYMORPHIC_MATCHER_P2()
3874 bool Matched = false; in AST_MATCHER_P() local
3880 Matched = true; in AST_MATCHER_P()
3885 return Matched; in AST_MATCHER_P()
5112 bool Matched = false; in AST_MATCHER_P() local
5118 Matched = true; in AST_MATCHER_P()
5123 return Matched; in AST_MATCHER_P()
5139 bool Matched = false; in AST_MATCHER_P() local
[all …]
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4444 bool Matched = false; in AST_POLYMORPHIC_MATCHER_P2() local
4456 Matched = true; in AST_POLYMORPHIC_MATCHER_P2()
4462 return Matched; in AST_POLYMORPHIC_MATCHER_P2()
4529 bool Matched = false; in AST_POLYMORPHIC_MATCHER_P2() local
4543 Matched = true; in AST_POLYMORPHIC_MATCHER_P2()
4553 Matched = true; in AST_POLYMORPHIC_MATCHER_P2()
4559 return Matched; in AST_POLYMORPHIC_MATCHER_P2()
5521 bool Matched = false; in AST_MATCHER_P() local
5527 Matched = true; in AST_MATCHER_P()
5532 return Matched; in AST_MATCHER_P()
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp271 bool Matched = false; in EachOfVariadicOperator() local
275 Matched = true; in EachOfVariadicOperator()
280 return Matched; in EachOfVariadicOperator()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp186 bool Matched = false; in TEST() local
188 Matched = true; in TEST()
193 EXPECT_TRUE(Matched); in TEST()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp2312 SmallVector<MatchResult, 4> Matched; in InstantiateClassTemplateSpecialization() local
2330 Matched.push_back(PartialSpecMatchResult()); in InstantiateClassTemplateSpecialization()
2331 Matched.back().Partial = Partial; in InstantiateClassTemplateSpecialization()
2332 Matched.back().Args = Info.take(); in InstantiateClassTemplateSpecialization()
2340 if (Matched.size() >= 1) { in InstantiateClassTemplateSpecialization()
2341 SmallVectorImpl<MatchResult>::iterator Best = Matched.begin(); in InstantiateClassTemplateSpecialization()
2342 if (Matched.size() == 1) { in InstantiateClassTemplateSpecialization()
2355 PEnd = Matched.end(); in InstantiateClassTemplateSpecialization()
2366 for (SmallVectorImpl<MatchResult>::iterator P = Matched.begin(), in InstantiateClassTemplateSpecialization()
2367 PEnd = Matched.end(); in InstantiateClassTemplateSpecialization()
[all …]
/external/llvm-project/lldb/docs/testsuite/2010-10-19-14_10_49.059609/
DTestSettings.SettingsCommandTestCase.test_set_output_path.log24 Matched
/external/llvm-project/clang/unittests/Tooling/
DToolingTest.cpp225 VerifyEndCallback() : BeginCalled(0), EndCalled(0), Matched(false) {} in VerifyEndCallback()
232 return std::make_unique<FindTopLevelDeclConsumer>(&Matched); in newASTConsumer()
236 bool Matched; member
256 EXPECT_TRUE(EndCallback.Matched); in TEST()

1234