/external/llvm-project/llvm/include/llvm/Testing/Support/ |
D | Error.h | 35 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() argument 36 : Matcher(Matcher) {} in ValueMatchesMono() 43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain() 48 Matcher.DescribeNegationTo(listener->stream()); in MatchAndExplain() 55 Matcher.DescribeTo(OS); in DescribeTo() 61 Matcher.DescribeNegationTo(OS); in DescribeNegationTo() 66 testing::Matcher<T> Matcher; 72 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly() argument 75 operator testing::Matcher<const ExpectedHolder<T> &>() const { 77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher))); [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | DAGISelMatcher.h | 21 class Matcher; variable 30 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 32 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 34 void EmitMatcherTable(Matcher *Matcher, const CodeGenDAGPatterns &CGP, 40 class Matcher { 43 std::unique_ptr<Matcher> Next; 97 Matcher(KindTy K) : Kind(K) {} in Matcher() function 99 virtual ~Matcher() {} in ~Matcher() 105 Matcher *getNext() { return Next.get(); } in getNext() 106 const Matcher *getNext() const { return Next.get(); } in getNext() [all …]
|
D | DAGISelMatcherEmitter.cpp | 51 SmallVector<unsigned, Matcher::HighestKind+1> OpcodeCounts; 86 OpcodeCounts.assign(Matcher::HighestKind+1, 0); in MatcherTableEmitter() 89 unsigned EmitMatcherList(const Matcher *N, const unsigned Indent, 92 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS); 96 void EmitHistogram(const Matcher *N, raw_ostream &OS); 104 unsigned SizeMatcher(Matcher *N, raw_ostream &OS); 106 unsigned EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, 233 SizeMatcherList(Matcher *N, raw_ostream &OS) { in SizeMatcherList() 246 SizeMatcher(Matcher *N, raw_ostream &OS) { in SizeMatcher() 253 case Matcher::Scope: { in SizeMatcher() [all …]
|
D | DAGISelMatcherOpt.cpp | 24 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() 27 Matcher *N = MatcherPtr.get(); in ContractNodes() 33 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 43 Matcher *New = nullptr; in ContractNodes() 152 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 153 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 154 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() 167 static Matcher *FindNodeWithKind(Matcher *M, Matcher::KindTy Kind) { in FindNodeWithKind() 187 static void FactorNodes(std::unique_ptr<Matcher> &InputMatcherPtr) { in FactorNodes() 190 std::unique_ptr<Matcher> *RebindableMatcherPtr = &InputMatcherPtr; in FactorNodes() [all …]
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcher.h | 22 class Matcher; variable 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 35 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 41 class Matcher { 44 std::unique_ptr<Matcher> Next; 91 Matcher(KindTy K) : Kind(K) {} in Matcher() function 93 virtual ~Matcher() {} in ~Matcher() 97 Matcher *getNext() { return Next.get(); } in getNext() 98 const Matcher *getNext() const { return Next.get(); } in getNext() [all …]
|
D | DAGISelMatcherEmitter.cpp | 59 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 66 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 156 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() 161 case Matcher::Scope: { in EmitMatcher() 223 case Matcher::RecordNode: in EmitMatcher() 232 case Matcher::RecordChild: in EmitMatcher() 242 case Matcher::RecordMemRef: in EmitMatcher() 246 case Matcher::CaptureGlueInput: in EmitMatcher() 250 case Matcher::MoveChild: { in EmitMatcher() [all …]
|
D | DAGISelMatcherOpt.cpp | 25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() 28 Matcher *N = MatcherPtr.get(); in ContractNodes() 34 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 44 Matcher *New = nullptr; in ContractNodes() 149 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 150 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 151 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() 164 static Matcher *FindNodeWithKind(Matcher *M, Matcher::KindTy Kind) { in FindNodeWithKind() 184 static void FactorNodes(std::unique_ptr<Matcher> &MatcherPtr) { in FactorNodes() 186 Matcher *N = MatcherPtr.get(); in FactorNodes() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/ |
D | Error.h | 35 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() argument 36 : Matcher(Matcher) {} in ValueMatchesMono() 43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain() 48 Matcher.DescribeNegationTo(listener->stream()); in MatchAndExplain() 55 Matcher.DescribeTo(OS); in DescribeTo() 61 Matcher.DescribeNegationTo(OS); in DescribeNegationTo() 66 testing::Matcher<T> Matcher; 72 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly() argument 75 operator testing::Matcher<const ExpectedHolder<T> &>() const { 77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher))); [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 10 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() 19 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() 28 …public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcres… in allOf() 37 … <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? s… in allOf() 46 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 55 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 64 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 73 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf() 82 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf() 91 …static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? … in anyOf() [all …]
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string &>::Matcher(const std::string &s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string &>::Matcher(const char *s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string &s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char *s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const internal::StringView &>::Matcher(const std::string &s) { in Matcher() function in testing::Matcher::StringView 70 Matcher<const internal::StringView &>::Matcher(const char *s) { in Matcher() function in testing::Matcher::StringView 76 Matcher<const internal::StringView &>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView 82 Matcher<internal::StringView>::Matcher(const std::string &s) { *this = Eq(s); } in Matcher() function in testing::Matcher::StringView 86 Matcher<internal::StringView>::Matcher(const char *s) { in Matcher() function in testing::Matcher::StringView 92 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const absl::string_view&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string_view 70 Matcher<const absl::string_view&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 76 Matcher<const absl::string_view&>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view 82 Matcher<absl::string_view>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string_view 86 Matcher<absl::string_view>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 92 Matcher<absl::string_view>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view
|
/external/mesa3d/src/gtest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const absl::string_view&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string_view 70 Matcher<const absl::string_view&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 76 Matcher<const absl::string_view&>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view 82 Matcher<absl::string_view>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string_view 86 Matcher<absl::string_view>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 92 Matcher<absl::string_view>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view
|
/external/googletest/googletest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::StringView 70 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView 76 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView 82 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::StringView 86 Matcher<internal::StringView>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView 92 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
D | CoreMatchers.java | 11 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() 21 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() 31 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf() 41 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf() 50 …rest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matc… in both() 59 ….core.CombinableMatcher.CombinableEitherMatcher<LHS> either(org.hamcrest.Matcher<? super LHS> matc… in either() 76 …public static <T> org.hamcrest.Matcher<T> describedAs(java.lang.String description, org.hamcrest.M… in describedAs() 90 …public static <U> org.hamcrest.Matcher<java.lang.Iterable<? extends U>> everyItem(org.hamcrest.Mat… in everyItem() 102 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { in is() 113 public static <T> org.hamcrest.Matcher<T> is(T value) { in is() [all …]
|
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 51 class Matcher; variable 80 typedef ::testing::tuple<Matcher<A1> > type; 85 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type; 90 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 95 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, 96 Matcher<A4> > type; 101 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 102 Matcher<A5> > type; 108 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 109 Matcher<A5>, Matcher<A6> > type; [all …]
|
/external/junit/src/main/java/org/junit/matchers/ |
D | JUnitMatchers.java | 4 import org.hamcrest.Matcher; 21 public static <T> Matcher<Iterable<? super T>> hasItem(T element) { in hasItem() 30 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) { in hasItem() 39 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() 50 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... elementMatchers) { in hasItems() 59 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) { in everyItem() 60 return CoreMatchers.everyItem((Matcher) elementMatcher); in everyItem() 68 public static Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() 81 public static <T> CombinableBothMatcher<T> both(Matcher<? super T> matcher) { in both() 94 public static <T> CombinableEitherMatcher<T> either(Matcher<? super T> matcher) { in either() [all …]
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | CombinableMatcher.java | 4 import org.hamcrest.Matcher; 10 private final Matcher<? super T> matcher; 12 public CombinableMatcher(Matcher<? super T> matcher) { in CombinableMatcher() 30 public CombinableMatcher<T> and(Matcher<? super T> other) { in and() 34 public CombinableMatcher<T> or(Matcher<? super T> other) { in or() 38 private ArrayList<Matcher<? super T>> templatedListWith(Matcher<? super T> other) { in templatedListWith() 39 ArrayList<Matcher<? super T>> matchers = new ArrayList<Matcher<? super T>>(); in templatedListWith() 50 public static <LHS> CombinableBothMatcher<LHS> both(Matcher<? super LHS> matcher) { in both() 55 private final Matcher<? super X> first; 56 public CombinableBothMatcher(Matcher<? super X> matcher) { in CombinableBothMatcher() [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsIterableContainingInOrder.java | 4 import org.hamcrest.Matcher; 15 private final List<Matcher<? super E>> matchers; 17 public IsIterableContainingInOrder(List<Matcher<? super E>> matchers) { in IsIterableContainingInOrder() 39 private final List<Matcher<? super F>> matchers; 43 public MatchSeries(List<Matcher<? super F>> matchers, Description mismatchDescription) { in MatchSeries() 69 final Matcher<? super F> matcher = matchers.get(nextMatchIx); in isMatched() 78 private void describeMismatch(Matcher<? super F> matcher, F item) { in describeMismatch() 95 public static <E> Matcher<Iterable<? extends E>> contains(E... items) { in contains() 96 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in contains() 116 … public static <E> Matcher<Iterable<? extends E>> contains(final Matcher<? super E> itemMatcher) { in contains() [all …]
|
D | IsMapContaining.java | 4 import org.hamcrest.Matcher; 14 private final Matcher<? super K> keyMatcher; 15 private final Matcher<? super V> valueMatcher; 17 public IsMapContaining(Matcher<? super K> keyMatcher, Matcher<? super V> valueMatcher) { in IsMapContaining() 58 …public static <K,V> Matcher<Map<? extends K,? extends V>> hasEntry(Matcher<? super K> keyMatcher, … in hasEntry() 74 public static <K,V> Matcher<Map<? extends K,? extends V>> hasEntry(K key, V value) { in hasEntry() 87 public static <K> Matcher<Map<? extends K, ?>> hasKey(Matcher<? super K> keyMatcher) { in hasKey() 100 public static <K> Matcher<Map<? extends K, ?>> hasKey(K key) { in hasKey() 113 public static <V> Matcher<Map<?, ? extends V>> hasValue(Matcher<? super V> valueMatcher) { in hasValue() 126 public static <V> Matcher<Map<?, ? extends V>> hasValue(V value) { in hasValue()
|
D | IsIterableContainingInAnyOrder.java | 4 import org.hamcrest.Matcher; 15 private final Collection<Matcher<? super T>> matchers; 17 public IsIterableContainingInAnyOrder(Collection<Matcher<? super T>> matchers) { in IsIterableContainingInAnyOrder() 41 private final Collection<Matcher<? super S>> matchers; 44 public Matching(Collection<Matcher<? super S>> matchers, Description mismatchDescription) { in Matching() 45 this.matchers = new ArrayList<Matcher<? super S>>(matchers); in Matching() 68 for (Matcher<? super S> matcher : matchers) { in isMatched() 99 …public static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(Matcher<? super T>... itemMatc… in containsInAnyOrder() 123 public static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(T... items) { in containsInAnyOrder() 124 List<Matcher<? super T>> matchers = new ArrayList<Matcher<? super T>>(); in containsInAnyOrder() [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/io/ |
D | FileMatchers.java | 5 import org.hamcrest.Matcher; 15 public static Matcher<File> anExistingDirectory() { in anExistingDirectory() 19 public static Matcher<File> anExistingFileOrDirectory() { in anExistingFileOrDirectory() 23 public static Matcher<File> anExistingFile() { in anExistingFile() 27 public static Matcher<File> aReadableFile() { in aReadableFile() 31 public static Matcher<File> aWritableFile() { in aWritableFile() 35 public static Matcher<File> aFileWithSize(long size) { in aFileWithSize() 39 public static Matcher<File> aFileWithSize(final Matcher<Long> expected) { in aFileWithSize() 45 public static Matcher<File> aFileNamed(final Matcher<String> expected) { 51 public static Matcher<File> aFileWithCanonicalPath(final Matcher<String> expected) { [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_matchers.h | 30 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloMatcher() 40 std::vector<::testing::Matcher<const HloInstruction*>> operands_; 62 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloComparisonMatcher() 76 HloGetTupleElementMatcher(::testing::Matcher<const HloInstruction*> operand, in HloGetTupleElementMatcher() 93 ::testing::Matcher<string> call_target_matcher, in HloCustomCallMatcher() 94 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloCustomCallMatcher() 103 ::testing::Matcher<string> call_target_matcher_; 154 ::testing::Matcher<const HloInstruction*> lhs, in HloDotWithContractingDimsMatcher() 155 ::testing::Matcher<const HloInstruction*> rhs, int64 lhs_contracting_dim, in HloDotWithContractingDimsMatcher() 175 ::testing::Matcher<const HloInstruction*> operand) in HloAsyncCopyMatcher() [all …]
|
/external/junit/src/main/java/org/junit/rules/ |
D | ExpectedExceptionMatcherBuilder.java | 9 import org.hamcrest.Matcher; 16 private final List<Matcher<?>> matchers = new ArrayList<Matcher<?>>(); 18 void add(Matcher<?> matcher) { in add() 26 Matcher<Throwable> build() { in build() 30 private Matcher<Throwable> allOfTheMatchers() { in allOfTheMatchers() 38 private List<Matcher<? super Throwable>> castedMatchers() { in castedMatchers() 39 return new ArrayList<Matcher<? super Throwable>>((List) matchers); in castedMatchers() 43 private Matcher<Throwable> cast(Matcher<?> singleMatcher) { in cast() 44 return (Matcher<Throwable>) singleMatcher; in cast()
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 140 Matcher<int> GreaterThan(int n) { in GreaterThan() 154 std::string Describe(const Matcher<T>& m) { in Describe() 160 std::string DescribeNegation(const Matcher<T>& m) { in DescribeNegation() 250 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST() 259 Matcher<double> m; in TEST() 265 Matcher<int> m(impl); in TEST() 272 Matcher<int> m1 = 5; in TEST() 279 Matcher<int*> m1 = nullptr; in TEST() 293 Matcher<int> m1 = Undefined::kInt; in TEST() 299 TEST(MatcherTest, CanAcceptAbstractClass) { Matcher<const Undefined&> m = _; } in TEST() [all …]
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchersMacros.h | 96 class matcher_##DefineMatcher##Matcher \ 99 explicit matcher_##DefineMatcher##Matcher() = default; \ 106 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \ 108 new internal::matcher_##DefineMatcher##Matcher()); \ 110 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 134 class matcher_##DefineMatcher##OverloadId##Matcher \ 137 explicit matcher_##DefineMatcher##OverloadId##Matcher( \ 149 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher( \ 152 new internal::matcher_##DefineMatcher##OverloadId##Matcher(Param)); \ 154 typedef ::clang::ast_matchers::internal::Matcher<Type>( \ [all …]
|