| /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() 42 pointsTo(type().bind( in callToGet() 57 returns(qualType(pointsTo(type().bind("op->Type")))))), in registerMatchersForGetArrowStart()
|
| H A D | ContainerDataPointerCheck.cpp | 52 expr(hasType(pointsTo(Container))).bind(DerefContainerExprName))) in registerMatchers() 59 expr(anyOf(hasType(Container), hasType(pointsTo(Container)), in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 132 hasType(pointsTo(ValidContainer)), in registerMatchers() 145 hasType(pointsTo(ValidContainer)), in registerMatchers() 164 expr(hasType(pointsTo(ValidContainer))).bind("Pointee"))), in registerMatchers()
|
| H A D | UniqueptrDeleteReleaseCheck.cpp | 45 hasType(pointsTo( in registerMatchers()
|
| H A D | RedundantStringCStrCheck.cpp | 76 expr(anyOf(hasType(StringDecl), hasType(qualType(pointsTo(StringDecl))))); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/ |
| H A D | CloexecAccept4Check.cpp | 22 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers() 23 auto SockLenPointerType = hasType(pointsTo(namedDecl(hasName("socklen_t")))); in registerMatchers()
|
| H A D | CloexecAcceptCheck.cpp | 21 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers() 22 auto SockLenPointerType = hasType(pointsTo(namedDecl(hasName("socklen_t")))); in registerMatchers()
|
| H A D | CloexecPipe2Check.cpp | 23 hasParameter(0, hasType(pointsTo(isInteger()))), in registerMatchers()
|
| H A D | CloexecPipeCheck.cpp | 22 hasParameter(0, hasType(pointsTo(isInteger()))))); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseAutoCheck.cpp | 226 hasType(pointsTo( in makeDeclWithNewMatcher() 227 pointsTo(parenType(innerType(functionType())))))))))) in makeDeclWithNewMatcher() 251 returns(anyOf(ST, pointsTo(ST), references(ST)))))); in makeDeclWithTemplateCastMatcher()
|
| H A D | UseTransparentFunctorsCheck.cpp | 47 qualType(pointsTo(qualType(isAnyCharacter()))))))), in registerMatchers()
|
| H A D | UseEqualsDefaultCheck.cpp | 163 pointsTo(type(equalsNode(Base)))), in isCopyAssignmentAndCanBeDefaulted()
|
| H A D | RedundantVoidArgCheck.cpp | 58 hasDestinationType(pointsTo(ParenFunctionType)); in registerMatchers()
|
| H A D | MakeSmartPtrCheck.cpp | 92 0, cxxNewExpr(hasType(pointsTo(qualType(hasCanonicalType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UndefinedMemoryManipulationCheck.cpp | 29 pointsTo(cxxRecordDecl(isNotTriviallyCopyable())))); in registerMatchers()
|
| H A D | InaccurateEraseCheck.cpp | 33 on(anyOf(hasType(DeclInStd), hasType(pointsTo(DeclInStd)))), in registerMatchers()
|
| H A D | SuspiciousMemsetUsageCheck.cpp | 39 0, anyOf(hasType(pointsTo(isAnyCharacter())), in registerMatchers()
|
| H A D | FoldInitTypeCheck.cpp | 28 pointsTo(BuiltinTypeWithId(ID)), in registerMatchers()
|
| H A D | ParentVirtualCallCheck.cpp | 90 hasImplicitDestinationType(pointsTo( in registerMatchers()
|
| H A D | UseAfterMoveCheck.cpp | 345 unless(parmVarDecl(hasType(pointsTo(isConstQualified())))))), in getReinits()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerSortingChecker.cpp | 85 pointsTo(hasCanonicalType(pointerType())) in matchSortWithPointers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientAlgorithmCheck.cpp | 47 hasType(pointsTo( in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 126 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST() 137 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST() 181 parmVarDecl(hasType(pointsTo(objcInterfaceDecl(hasName("Foo"))))))); in TEST() 221 expr(hasType(pointsTo( in TEST() 311 expr(hasType(pointsTo(ClassX))))); in TEST() 322 varDecl(hasType(pointsTo(ClassX))))); in TEST() 834 hasObjectExpression(hasType(pointsTo(cxxRecordDecl(hasName("X")))))); in TEST() 1159 0, hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST() 1197 hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST() 1538 traverse(TK_AsIs, hasRHS(hasType(pointsTo(qualType()))))); in TEST() [all …]
|
| H A D | ASTMatchersNarrowingTest.cpp | 173 hasArgument(1, hasType(pointsTo(recordDecl(hasName("T"))))))))); in TEST_P() 178 hasArgument(1, hasType(pointsTo(recordDecl(hasName("T"))))), in TEST_P() 184 hasArgument(1, hasType(pointsTo(recordDecl(hasName("T"))))), in TEST_P() 2635 pointsTo(AnyType), references(AnyType) in TEST_P() 2841 hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST_P() 2891 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST_P() 2894 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST_P()
|
| H A D | ASTMatchersNodeTest.cpp | 338 cxxMemberCallExpr(on(hasType(pointsTo(recordDecl(hasName("Y")))))); in TEST_P() 1656 matches("int (*array)[4];", varDecl(hasType(pointsTo(parenType()))))); in TEST_P() 1661 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST_P() 1664 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST_P()
|