Home
last modified time | relevance | path

Searched refs:getPointeeLoc (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DAttrTest.cpp102 AssertAnnotatedAs(PointerTL.getPointeeLoc(), "foo", PointerPointerTL, in TEST()
131 AssertAnnotatedAs(PointerTL.getPointeeLoc(), "int", IntTL); in TEST()
142 PointerTL.getPointeeLoc().IgnoreParens().getAs<FunctionTypeLoc>()); in TEST()
152 AssertAnnotatedAs(MemberPointerTL.getPointeeLoc(), "int", IntTL); in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp136 return PointerTL.getPointeeLoc().getUnqualifiedLoc(); in lookThroughTypedefOrTypeAliasLocs()
139 return ReferenceTL.getPointeeLoc().getUnqualifiedLoc(); in lookThroughTypedefOrTypeAliasLocs()
144 return BlockPointerTL.getPointeeLoc().getUnqualifiedLoc(); in lookThroughTypedefOrTypeAliasLocs()
146 return MemberPointerTL.getPointeeLoc().getUnqualifiedLoc(); in lookThroughTypedefOrTypeAliasLocs()
H A DTypeLoc.cpp659 return Visit(T.getPointeeLoc()); in VisitPointerTypeLoc()
663 return Visit(T.getPointeeLoc()); in VisitBlockPointerTypeLoc()
667 return Visit(T.getPointeeLoc()); in VisitReferenceTypeLoc()
671 return Visit(T.getPointeeLoc()); in VisitMemberPointerTypeLoc()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTransferTest.cpp419 const StorageLocation &FooPtrPointeeLoc = FooPtrVal->getPointeeLoc(); in TEST()
429 const StorageLocation &BazPtrPointeeLoc = BazPtrVal->getPointeeLoc(); in TEST()
461 const StorageLocation &FooPointeeLoc = FooVal->getPointeeLoc(); in TEST()
562 cast<StructValue>(Env.getValue(FooVal->getPointeeLoc())); in TEST()
567 cast<StructValue>(Env.getValue(BarVal->getPointeeLoc())); in TEST()
1011 const StorageLocation &FooPointeeLoc = FooVal->getPointeeLoc(); in TEST()
2286 NullVal->getPointeeLoc(); in TEST()
2346 EXPECT_EQ(&BarVal->getPointeeLoc(), FooLoc); in TEST()
2375 EXPECT_EQ(&BarVal->getPointeeLoc(), &FooVal->getPointeeLoc()); in TEST()
3437 EXPECT_EQ(&LVal->getPointeeLoc(), in TEST()
[all …]
H A DTypeErasedDataflowAnalysisTest.cpp679 EXPECT_EQ(&BarVal->getPointeeLoc(), FooLoc); in TEST_F()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp58 return &IndVal1->getPointeeLoc() == &IndVal2->getPointeeLoc(); in areEquivalentIndirectionValues()
530 return Val->getPointeeLoc(); in skip()
H A DTransfer.cpp287 SubExprVal->getPointeeLoc()))); in VisitUnaryOperator()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp77 TL = PT.getPointeeLoc(); in lookForAttribute()
79 TL = RT.getPointeeLoc(); in lookForAttribute()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DPassByValueCheck.cpp285 TypeLoc ValueTL = RefTL.getPointeeLoc(); in check()
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp1324 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getAs<clang::BuiltinType… in TEST()
1325 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getAs<clang::BuiltinType… in TEST()
1326 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getBeginLoc()), in TEST()
1327 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getEndLoc()), in TEST()
1345 STRING_LOCATION_PAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getLocalSourceRange()), in TEST()
1346 STRING_LOCATION_PAIR(TL, getAs<clang::PointerTypeLoc>().getPointeeLoc().getSourceRange()), in TEST()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DValue.h253 StorageLocation &getPointeeLoc() const { return PointeeLoc; } in getPointeeLoc() function
/llvm-project-15.0.7/clang/include/clang/AST/
H A DRecursiveASTVisitor.h1232 { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc())); })
1235 { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc())); })
1238 { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc())); })
1241 { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc())); })
1250 TRY_TO(TraverseTypeLoc(TL.getPointeeLoc()));
1466 { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc())); })
H A DTypeLoc.h1240 TypeLoc getPointeeLoc() const { in getPointeeLoc() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1419 PtrToFunctionTL.getPointeeLoc().getAs<FunctionProtoTypeLoc>(); in addFunctionPointerConversion()
1421 ConvNamePtrToFunctionTL.getPointeeLoc().getAs<FunctionProtoTypeLoc>(); in addFunctionPointerConversion()
H A DTreeTransform.h5018 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformPointerType()
5036 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
5056 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformBlockPointerType()
5062 PointeeType != TL.getPointeeLoc().getType()) { in TransformBlockPointerType()
5085 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformReferenceType()
5133 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformMemberPointerType()
7264 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformObjCObjectPointerType()
7270 PointeeType != TL.getPointeeLoc().getType()) { in TransformObjCObjectPointerType()
H A DSemaType.cpp1113 auto ObjCObjectTL = ObjCObjectPointerTL.getPointeeLoc() in actOnObjCProtocolQualifierType()
1188 ResultTL = ObjCObjectPointerTL.getPointeeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
H A DSemaCodeComplete.cpp2809 TL = BlockPtr.getPointeeLoc().IgnoreParens(); in findTypeLocationForBlockDecl()
6022 Target = P.getPointeeLoc(); in GetPrototypeLoc()
H A DSemaDecl.cpp6445 FixInvalidVariablyModifiedTypeLoc(SrcPTL.getPointeeLoc(), in FixInvalidVariablyModifiedTypeLoc()
6446 DstPTL.getPointeeLoc()); in FixInvalidVariablyModifiedTypeLoc()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp150 auto L = Visit(T.getPointeeLoc()); in HandlePointer()
1409 return TraverseTypeLoc(L.getPointeeLoc()); in TraverseMemberPointerTypeLoc()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6596 return PointeeMatcher.matches(Node.getPointeeLoc(), Finder, Builder); in AST_MATCHER_P()
6624 return ReferentMatcher.matches(Node.getPointeeLoc(), Finder, Builder); in AST_MATCHER_P()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp1719 return Visit(TL.getPointeeLoc()); in VisitObjCObjectPointerTypeLoc()
1731 return Visit(TL.getPointeeLoc()); in VisitPointerTypeLoc()
1735 return Visit(TL.getPointeeLoc()); in VisitBlockPointerTypeLoc()
1739 return Visit(TL.getPointeeLoc()); in VisitMemberPointerTypeLoc()
1743 return Visit(TL.getPointeeLoc()); in VisitLValueReferenceTypeLoc()
1747 return Visit(TL.getPointeeLoc()); in VisitRValueReferenceTypeLoc()