Home
last modified time | relevance | path

Searched defs:Matcher (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/googletest/googletest/src/
H A Dgtest-matchers.cc46 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string
50 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string
56 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string
60 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string
65 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::StringView
71 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView
77 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
83 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::StringView
87 Matcher<internal::StringView>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView
93 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h34 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono()
71 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly()
86 explicit ErrorMatchesMono(std::optional<testing::Matcher<InfoT &>> Matcher) in ErrorMatchesMono()
135 testing::Matcher<std::vector<std::string>> Matcher) in ErrorMessageMatches()
163 #define EXPECT_THAT_ERROR(Err, Matcher) \ argument
165 #define ASSERT_THAT_ERROR(Err, Matcher) \ argument
189 #define EXPECT_THAT_EXPECTED(Err, Matcher) \ argument
191 #define ASSERT_THAT_EXPECTED(Err, Matcher) \ argument
203 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
209 testing::Matcher<const detail::ErrorHolder &> FailedWithMessage(M... Matcher) { in FailedWithMessage()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h302 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node, in match()
313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
319 match(MatcherT Matcher, ASTContext &Context) { in match()
328 matchDynamic(internal::DynTypedMatcher Matcher, const DynTypedNode &Node, in matchDynamic()
338 SmallVector<BoundNodes, 1> matchDynamic(internal::DynTypedMatcher Matcher, in matchDynamic()
345 matchDynamic(internal::DynTypedMatcher Matcher, ASTContext &Context) { in matchDynamic()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp58 VariantMatcher::MatcherOps::canConstructFrom(const DynTypedMatcher &Matcher, in canConstructFrom()
92 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} in SinglePayload()
117 const DynTypedMatcher Matcher; member in clang::ast_matchers::dynamic::VariantMatcher::SinglePayload
170 for (const DynTypedMatcher &Matcher : Matchers) { in isConvertibleTo() local
212 for (const VariantMatcher &Matcher : Args) { in isConvertibleTo() local
226 VariantMatcher VariantMatcher::SingleMatcher(const DynTypedMatcher &Matcher) { in SingleMatcher()
278 VariantValue::VariantValue(const VariantMatcher &Matcher) : Type(VT_Nothing) { in VariantValue()
H A DRegistry.cpp704 const MatcherDescriptor& Matcher = *M.getValue(); in getMatcherCompletions() local
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp126 StatementMatcher Matcher) { in gtestThatInternal()
196 StatementMatcher Matcher) { in gtestAssertThat()
201 StatementMatcher Matcher) { in gtestExpectThat()
H A DASTMatchFinder.cpp99 MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder, in MatchChildASTVisitor()
408 const DynTypedMatcher *const Matcher; member in clang::ast_matchers::internal::__anon17c865b50111::MatchChildASTVisitor
599 const DynTypedMatcher &Matcher, in memoizedMatchesRecursively()
634 const DynTypedMatcher &Matcher, in matchesRecursively()
674 const DynTypedMatcher &Matcher, in matchesChildOf()
682 const DynTypedMatcher &Matcher, in matchesDescendantOf()
692 const DynTypedMatcher &Matcher, in matchesAncestorOf()
1123 bool matchesParentOf(const DynTypedNode &Node, const DynTypedMatcher &Matcher, in matchesParentOf()
1152 const DynTypedMatcher &Matcher, in matchesAnyAncestorOf()
1284 const Matcher<NamedDecl> &Matcher, in typeHasMatchingAlias()
[all …]
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DStrings.h71 void addPattern(SingleStringMatcher Matcher) { patterns.push_back(Matcher); } in addPattern()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h59 void addMatcher(const T &Matcher, RefactoringCallback *Callback) { in addMatcher()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp71 for (auto &Matcher : Impl->buildMatchers()) in registerMatchers() local
H A DRewriteRule.cpp274 for (auto &Matcher : transformer::detail::buildMatchers(Rule)) in registerMatchers() local
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DDAGISelMatcherEmitter.cpp835 const EmitRegisterMatcher *Matcher = cast<EmitRegisterMatcher>(N); in EmitMatcher() local
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp27 const auto IgnoreDerivedToBase = [](const Expr *E, auto Matcher) { in canExprResolveTo()
39 const auto EvalCommaExpr = [](const Expr *E, auto Matcher) { in canExprResolveTo()
215 findFirst(const ast_matchers::internal::Matcher<T> &Matcher) { in findFirst()
H A DUnsafeBufferUsage.cpp129 MatchDescendantVisitor(ASTContext &Context, FastMatcher &Matcher, in MatchDescendantVisitor()
241 FastMatcher *const Matcher; member in MatchDescendantVisitor
262 FastMatcher &Matcher) { in forEachDescendantEvaluatedStmt()
270 FastMatcher &Matcher) { in forEachDescendantStmt()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h347 VariantMatcher *Matcher; member
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp759 InstructionMatcher &Matcher = insnmatchers_front(); in hasFirstCondition() local
773 InstructionMatcher &Matcher = insnmatchers_front(); in getFirstCondition() local
791 InstructionMatcher &Matcher = insnmatchers_front(); in popFirstCondition() local
873 unsigned RuleMatcher::implicitlyDefineInsnVar(InstructionMatcher &Matcher) { in implicitlyDefineInsnVar()
1081 for (auto Matcher : zip(Matchers, B.Matchers)) { in isHigherPriorityThan() local
1094 [](unsigned A, const std::unique_ptr<InstructionMatcher> &Matcher) { in countRendererFns()
H A DPatternParser.cpp161 const DagInit *Matcher = getDagWithSpecificOperator(Arg, "wip_match_opcode"); in parseWipMatchOpcodeMatcher() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp32 const ast_matchers::internal::DynTypedMatcher &Matcher, in addDynamicMatcher()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h284 ast_matchers::internal::DynTypedMatcher Matcher; member
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h56 class Matcher; variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.h27 class Matcher; variable
105 Matcher(KindTy K) : Kind(K) {} in Matcher() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h132 Error addMatcher(Expected<NameOrPattern> Matcher) { in addMatcher()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp1755 FindFirstMatchingPrefix(const FileCheckRequest &Req, PrefixMatcher &Matcher, in FindFirstMatchingPrefix()
1863 PrefixMatcher Matcher(Req.CheckPrefixes, Req.CommentPrefixes, Buffer); in readCheckFile() local

12