| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-expr-json.m | 126 // CHECK-NEXT: "qualType": "void (void)" 164 // CHECK-NEXT: "qualType": "char *" 189 // CHECK-NEXT: "qualType": "int" 300 // CHECK-NEXT: "qualType": "I *" 337 // CHECK-NEXT: "qualType": "void" 413 // CHECK-NEXT: "qualType": "void" 419 // CHECK-NEXT: "qualType": "I" 768 // CHECK-NEXT: "qualType": "id", 806 // CHECK-NEXT: "qualType": "int" 954 // CHECK-NEXT: "qualType": "J *" [all …]
|
| H A D | ast-dump-decl-json.m | 181 // CHECK-NEXT: "qualType": "int" 208 // CHECK-NEXT: "qualType": "int" 235 // CHECK-NEXT: "qualType": "int" 262 // CHECK-NEXT: "qualType": "int" 289 // CHECK-NEXT: "qualType": "int" 321 // CHECK-NEXT: "qualType": "int" 348 // CHECK-NEXT: "qualType": "int" 380 // CHECK-NEXT: "qualType": "int" 411 // CHECK-NEXT: "qualType": "SEL", 438 // CHECK-NEXT: "qualType": "int" [all …]
|
| H A D | ast-dump-stmt-json.m | 50 // CHECK-NEXT: "qualType": "void (int)" 77 // CHECK-NEXT: "qualType": "int" 114 // CHECK-NEXT: "qualType": "void (^)(void)" 173 // CHECK-NEXT: "qualType": "int" 209 // CHECK-NEXT: "qualType": "int" 283 // CHECK-NEXT: "qualType": "void (int)" 310 // CHECK-NEXT: "qualType": "int" 406 // CHECK-NEXT: "qualType": "int" 442 // CHECK-NEXT: "qualType": "int" 516 // CHECK-NEXT: "qualType": "void (void)" [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeUniqueCheck.cpp | 24 return qualType(hasUnqualifiedDesugaredType( in getSmartPointerTypeMatcher() 28 0, templateArgument(refersToType(qualType().bind(PointerType)))), in getSmartPointerTypeMatcher() 31 qualType(hasDeclaration(classTemplateSpecializationDecl( in getSmartPointerTypeMatcher() 35 0, templateArgument(refersToType(qualType( in getSmartPointerTypeMatcher()
|
| H A D | UseTransparentFunctorsCheck.cpp | 43 loc(qualType( in registerMatchers() 47 qualType(pointsTo(qualType(isAnyCharacter()))))))), in registerMatchers() 49 templateArgument(refersToType(qualType(hasDeclaration( in registerMatchers()
|
| H A D | MakeSharedCheck.cpp | 25 return qualType(hasUnqualifiedDesugaredType( in getSmartPointerTypeMatcher() 29 qualType().bind(PointerType))))))))); in getSmartPointerTypeMatcher()
|
| H A D | UseBoolLiteralsCheck.cpp | 35 hasImplicitDestinationType(qualType(booleanType())), in registerMatchers() 44 hasImplicitDestinationType(qualType(booleanType())), in registerMatchers()
|
| H A D | ReplaceAutoPtrCheck.cpp | 53 auto AutoPtrType = qualType(hasDeclaration(AutoPtrDecl)); in registerMatchers() 63 Finder->addMatcher(typeLoc(loc(qualType(AutoPtrType, in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | TypePrinterTest.cpp | 56 auto Matcher = parmVarDecl(hasType(qualType().bind("id"))); in TEST() 72 auto Matcher = parmVarDecl(hasType(qualType().bind("id"))); in TEST() 93 varDecl(hasType(qualType().bind("id"))), in TEST() 96 varDecl(hasType(qualType().bind("id"))), in TEST() 114 has(parmVarDecl(hasType(qualType().bind("id"))))))); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantSmartptrGetCheck.cpp | 24 hasType(qualType(pointsTo( in callToGet() 30 returns(qualType(pointsTo( in callToGet() 35 expr(hasType(qualType(hasCanonicalType( in callToGet() 41 returns(qualType( in callToGet() 57 returns(qualType(pointsTo(type().bind("op->Type")))))), in registerMatchersForGetArrowStart() 58 has(cxxMethodDecl(hasName("operator*"), returns(qualType(references( in registerMatchersForGetArrowStart()
|
| H A D | ContainerDataPointerCheck.cpp | 40 qualType(hasUnqualifiedDesugaredType(recordType(hasDeclaration(Record)))); in registerMatchers() 42 qualType(hasUnqualifiedDesugaredType(templateSpecializationType( in registerMatchers() 46 qualType(anyOf(NonTemplateContainerType, TemplateContainerType)); in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 104 returns(qualType(isInteger(), unless(booleanType()), in registerMatchers() 113 qualType(hasUnqualifiedDesugaredType( in registerMatchers() 116 qualType(hasUnqualifiedDesugaredType(templateSpecializationType( in registerMatchers() 119 const auto ValidContainer = qualType( in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 224 qualType(hasCanonicalType( in checkASTCodeBody() 225 qualType(hasDeclaration( in checkASTCodeBody() 243 qualType(typedefType(hasDeclaration( in checkASTCodeBody() 248 qualType(anyOf(qualType(booleanType()).bind("cpp_bool_type"), in checkASTCodeBody() 255 qualType(hasCanonicalType(isInteger()), in checkASTCodeBody() 261 qualType(anyOf(SuspiciousScalarBooleanTypeM, in checkASTCodeBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SignedCharMisuseCheck.cpp | 43 const auto IntTypedef = qualType(hasDeclaration(typedefDecl( in charCastExpression() 49 qualType(isAnyCharacter(), isSignedInteger(), unless(IntTypedef)))); in charCastExpression() 51 CharTypeExpr = expr(hasType(qualType( in charCastExpression() 73 qualType(isInteger(), unless(isAnyCharacter()), unless(booleanType())) in registerMatchers()
|
| H A D | MoveForwardingReferenceCheck.cpp | 74 hasType(qualType(rValueReferenceType(), in registerMatchers() 77 unless(references(qualType(isConstQualified())))))) in registerMatchers()
|
| H A D | StringIntegerAssignmentCheck.cpp | 27 qualType().bind("type")))))))), in registerMatchers() 38 unless(hasType(qualType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | DeclRefExprUtils.cpp | 61 qualType(anyOf(matchers::isReferenceToConst(), in constReferenceDeclRefExprs() 64 auto ConstReferenceOrValueOrReplaced = qualType(anyOf( in constReferenceDeclRefExprs() 74 has(varDecl(hasType(qualType(matchers::isReferenceToConst())), in constReferenceDeclRefExprs() 80 hasType(qualType(matchers::isPointerToConst())), in constReferenceDeclRefExprs()
|
| H A D | Matchers.h | 43 return referenceType(pointee(qualType(isConstQualified()))); in AST_MATCHER_FUNCTION() 49 return pointerType(pointee(qualType(isConstQualified()))); in AST_MATCHER_FUNCTION()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | StdAllocatorConstCheck.cpp | 23 hasTemplateArgument(0, refersToType(qualType(isConstQualified())))))); in registerMatchers() 48 0, refersToType(qualType(isConstQualified()))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/ |
| H A D | AssertEquals.cpp | 35 anyOf(hasLHS(hasType(qualType( in registerMatchers() 37 hasRHS(hasType(qualType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | ImplicitConversionInLoopCheck.cpp | 54 hasType(qualType(references(qualType(isConstQualified())))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnconventionalAssignOperatorCheck.cpp | 26 const auto IsSelf = qualType(hasCanonicalType( in registerMatchers() 41 const auto BadSelf = qualType(hasCanonicalType(referenceType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | NonTrivialTypesLibcMemoryCallsCheck.cpp | 78 hasType(Bind ? qualType().bind("Record") : qualType())))))); in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | SourceCodeBuildersTest.cpp | 149 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST() 160 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST() 171 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST() 182 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST()
|
| H A D | StencilTest.cpp | 510 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 520 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 530 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 540 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 550 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 560 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F()
|