| /llvm-project-15.0.7/lldb/unittests/DataFormatter/ |
| H A D | FormattersContainerTest.cpp | 27 TypeMatcher matcher(ConstString(prefix + "Name")); in TEST() 48 TypeMatcher matcher(RegularExpression("^a[a-z]c$")); in TEST() 69 TypeMatcher matcher(RegularExpression("a[a-z]c")); in TEST() 103 TypeMatcher empty_str(ConstString("")); in TEST() 104 TypeMatcher empty_regex(RegularExpression("")); in TEST() 108 TypeMatcher a_str(ConstString("a")); in TEST() 109 TypeMatcher a_regex(RegularExpression("a")); in TEST() 113 TypeMatcher digit_str(ConstString("[0-9]")); in TEST() 114 TypeMatcher digit_regex(RegularExpression("[0-9]")); in TEST() 153 TypeMatcher with_prefix(ConstString(prefix + "Name")); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | FormattersContainer.h | 41 class TypeMatcher { 71 TypeMatcher() = delete; 73 TypeMatcher(ConstString type_name) in TypeMatcher() function 76 TypeMatcher(RegularExpression regex) in TypeMatcher() function 102 bool CreatedBySameMatchString(TypeMatcher other) const { in CreatedBySameMatchString() 110 typedef std::vector<std::pair<TypeMatcher, ValueSP>> MapType; 120 void Add(TypeMatcher matcher, const ValueSP &entry) { in Add() 133 bool Delete(TypeMatcher matcher) { in Delete() 156 bool GetExact(TypeMatcher matcher, ValueSP &entry) { in GetExact() 177 TypeMatcher type_matcher = m_map[index].first; in GetTypeNameSpecifierAtIndex() [all …]
|
| H A D | DataVisualization.h | 72 static void ForEach(std::function<bool(const TypeMatcher &,
|
| H A D | TypeCategory.h | 31 typedef TypeMatcher ExactMatchMap; 32 typedef TypeMatcher RegexMatchMap;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | Matchers.h | 41 AST_MATCHER_FUNCTION(ast_matchers::TypeMatcher, isReferenceToConst) { in AST_MATCHER_FUNCTION() argument 47 AST_MATCHER_FUNCTION(ast_matchers::TypeMatcher, isPointerToConst) { in AST_MATCHER_FUNCTION() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ForwardingReferenceOverloadCheck.cpp | 56 clang::ast_matchers::internal::Matcher<QualType>, TypeMatcher) { in AST_MATCHER_P() argument 58 TypeMatcher.matches(Node.getDefaultArgument(), Finder, Builder); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseAutoCheck.cpp | 176 TypeMatcher typedefIterator() { in typedefIterator() 182 TypeMatcher nestedIterator() { in nestedIterator() 188 TypeMatcher iteratorFromUsingDeclaration() { in iteratorFromUsingDeclaration()
|
| H A D | PassByValueCheck.cpp | 49 static TypeMatcher notTemplateSpecConstRefType() { in notTemplateSpecConstRefType() 54 static TypeMatcher nonConstValueType() { in nonConstValueType()
|
| H A D | LoopConvertCheck.cpp | 254 TypeMatcher RecordWithBeginEnd = qualType(anyOf( in makePseudoArrayLoopMatcher()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 366 template <typename T> struct TypeMatcher##MatcherName##Getter { \ 373 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \ 380 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \ 393 template <typename T> struct TypeMatcher##MatcherName##Getter { \ 399 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
|
| H A D | ASTMatchFinder.h | 156 void addMatcher(const TypeMatcher &NodeMatch, 214 std::vector<std::pair<TypeMatcher, MatchCallback *>> Type;
|
| H A D | ASTMatchers.h | 143 using TypeMatcher = internal::Matcher<QualType>; variable
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 148 TEST(TypeMatcher, MatchesClassType) { in TEST() argument 149 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST() 154 TypeMatcher TypeDerivedFromA = in TEST() 161 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 171 TEST(TypeMatcher, MatchesDeclTypes) { in TEST() argument 942 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 955 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 984 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 1006 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 1029 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() [all …]
|
| H A D | ASTMatchersNarrowingTest.cpp | 1302 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST_P() 2621 const TypeMatcher AnyType = anything(); in TEST_P() 2634 expr(hasType(TypeMatcher(anyOf(TypeMatcher(hasDeclaration(anything())), in TEST_P()
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | DataVisualization.cpp | 189 std::function<bool(const TypeMatcher &, const lldb::TypeSummaryImplSP &)> in ForEach() argument
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | TransformerTest.cpp | 68 isOrPointsTo(const clang::ast_matchers::DeclarationMatcher &TypeMatcher) { in isOrPointsTo() argument 69 return anyOf(hasDeclaration(TypeMatcher), pointsTo(TypeMatcher)); in isOrPointsTo()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectType.cpp | 1106 const TypeMatcher &type_matcher, in DoExecute() 1120 const TypeMatcher &type_matcher, in DoExecute() 1674 [&result](const TypeMatcher &type_matcher, in FormatterSpecificList()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1575 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()
|