Home
last modified time | relevance | path

Searched refs:pointsTo (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantSmartptrGetCheck.cpp24 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 DContainerDataPointerCheck.cpp52 expr(hasType(pointsTo(Container))).bind(DerefContainerExprName))) in registerMatchers()
59 expr(anyOf(hasType(Container), hasType(pointsTo(Container)), in registerMatchers()
H A DContainerSizeEmptyCheck.cpp132 hasType(pointsTo(ValidContainer)), in registerMatchers()
145 hasType(pointsTo(ValidContainer)), in registerMatchers()
164 expr(hasType(pointsTo(ValidContainer))).bind("Pointee"))), in registerMatchers()
H A DUniqueptrDeleteReleaseCheck.cpp45 hasType(pointsTo( in registerMatchers()
H A DRedundantStringCStrCheck.cpp76 expr(anyOf(hasType(StringDecl), hasType(qualType(pointsTo(StringDecl))))); in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecAccept4Check.cpp22 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
23 auto SockLenPointerType = hasType(pointsTo(namedDecl(hasName("socklen_t")))); in registerMatchers()
H A DCloexecAcceptCheck.cpp21 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
22 auto SockLenPointerType = hasType(pointsTo(namedDecl(hasName("socklen_t")))); in registerMatchers()
H A DCloexecPipe2Check.cpp23 hasParameter(0, hasType(pointsTo(isInteger()))), in registerMatchers()
H A DCloexecPipeCheck.cpp22 hasParameter(0, hasType(pointsTo(isInteger()))))); in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseAutoCheck.cpp226 hasType(pointsTo( in makeDeclWithNewMatcher()
227 pointsTo(parenType(innerType(functionType())))))))))) in makeDeclWithNewMatcher()
251 returns(anyOf(ST, pointsTo(ST), references(ST)))))); in makeDeclWithTemplateCastMatcher()
H A DUseTransparentFunctorsCheck.cpp47 qualType(pointsTo(qualType(isAnyCharacter()))))))), in registerMatchers()
H A DUseEqualsDefaultCheck.cpp163 pointsTo(type(equalsNode(Base)))), in isCopyAssignmentAndCanBeDefaulted()
H A DRedundantVoidArgCheck.cpp58 hasDestinationType(pointsTo(ParenFunctionType)); in registerMatchers()
H A DMakeSmartPtrCheck.cpp92 0, cxxNewExpr(hasType(pointsTo(qualType(hasCanonicalType( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUndefinedMemoryManipulationCheck.cpp29 pointsTo(cxxRecordDecl(isNotTriviallyCopyable())))); in registerMatchers()
H A DInaccurateEraseCheck.cpp33 on(anyOf(hasType(DeclInStd), hasType(pointsTo(DeclInStd)))), in registerMatchers()
H A DSuspiciousMemsetUsageCheck.cpp39 0, anyOf(hasType(pointsTo(isAnyCharacter())), in registerMatchers()
H A DFoldInitTypeCheck.cpp28 pointsTo(BuiltinTypeWithId(ID)), in registerMatchers()
H A DParentVirtualCallCheck.cpp90 hasImplicitDestinationType(pointsTo( in registerMatchers()
H A DUseAfterMoveCheck.cpp345 unless(parmVarDecl(hasType(pointsTo(isConstQualified())))))), in getReinits()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPointerSortingChecker.cpp85 pointsTo(hasCanonicalType(pointerType())) in matchSortWithPointers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientAlgorithmCheck.cpp47 hasType(pointsTo( in registerMatchers()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp126 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 DASTMatchersNarrowingTest.cpp173 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 DASTMatchersNodeTest.cpp338 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()

12