Searched refs:PredicateMatcher (Results 1 – 6 of 6) sorted by relevance
/external/catch2/include/internal/ |
D | catch_matchers_generic.hpp | 25 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/ |
D | GlobalISelEmitter.cpp | 658 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/ |
D | deprecations.md | 125 ### 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.
|
D | release-notes.md | 371 * 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/ |
D | catch.hpp | 3465 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/ |
D | catch.hpp | 3491 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()
|