Home
last modified time | relevance | path

Searched refs:PredicateMatcher (Results 1 – 6 of 6) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers_generic.hpp25 class PredicateMatcher : public MatcherBase<T> { class
30 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
51 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
52 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()
/external/llvm-project/llvm/utils/TableGen/
DGlobalISelEmitter.cpp658 class PredicateMatcher;
668 virtual const PredicateMatcher &getFirstCondition() const = 0;
669 virtual std::unique_ptr<PredicateMatcher> popFirstCondition() = 0;
683 SmallVector<std::unique_ptr<PredicateMatcher>, 1> Conditions;
732 std::unique_ptr<PredicateMatcher> popFirstCondition() override { in popFirstCondition()
735 std::unique_ptr<PredicateMatcher> P = std::move(Conditions.front()); in popFirstCondition()
739 const PredicateMatcher &getFirstCondition() const override { in getFirstCondition()
749 bool candidateConditionMatches(const PredicateMatcher &Predicate) const;
762 std::unique_ptr<PredicateMatcher> Condition = nullptr;
784 std::unique_ptr<PredicateMatcher> popFirstCondition() override { in popFirstCondition()
[all …]
/external/catch2/docs/
Ddeprecations.md125 ### Type erasure in the `PredicateMatcher`
127 Currently, the `PredicateMatcher` uses `std::function` for type erasure,
128 so that type of the matcher is always `PredicateMatcher<T>`, regardless
131 `PredicateMatcher` will no longer be type erased in the future. Instead,
132 the predicate type will be made part of the PredicateMatcher's type.
Drelease-notes.md371 * Fixed compilation of `PredicateMatcher<const char*>` by removing partial specialization of `Match…
539 * Added `PredicateMatcher`, a matcher that takes an arbitrary predicate function (#1236)
/external/catch2/single_include/catch2/
Dcatch.hpp3465 class PredicateMatcher : public MatcherBase<T> { class
3470 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
3491 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
3492 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()
/external/libabigail/tests/lib/
Dcatch.hpp3491 class PredicateMatcher : public MatcherBase<T> { class
3496 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
3517 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
3518 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()