Home
last modified time | relevance | path

Searched refs:PointerTypeLoc (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DAttrTest.cpp98 .getAs<PointerTypeLoc>(); in TEST()
100 PointerTypeLoc PointerPointerTL; in TEST()
128 PointerTypeLoc PointerTL; in TEST()
138 PointerTypeLoc PointerTL; in TEST()
H A DASTTypeTraitsTest.cpp217 TEST(DynTypedNode, PointerTypeLoc) { in TEST() argument
231 const auto &ptl = *matches[0].getNodeAs<PointerTypeLoc>("ptl"); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseAutoCheck.cpp376 auto Q = V->getTypeSourceInfo()->getTypeLoc().getAs<PointerTypeLoc>(); in replaceExpr()
379 Q = Q.getNextTypeLoc().getAs<PointerTypeLoc>(); in replaceExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeLocNodes.def10 // enumerated by providing its core name (e.g., "Pointer" for "PointerTypeLoc")
H A DTypeLoc.h1258 class PointerTypeLoc : public PointerLikeTypeLoc<PointerTypeLoc,
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp135 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
H A DTypeLoc.cpp658 TypeLoc VisitPointerTypeLoc(PointerTypeLoc T) { in VisitPointerTypeLoc()
/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()
1328 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getSigilLoc()), in TEST()
1329 STRING_LOCATION_STDPAIR(TL, getAs<clang::PointerTypeLoc>().getStarLoc()), 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/lib/ARCMigrate/
H A DTransGCAttrs.cpp76 } else if (PointerTypeLoc PT = TL.getAs<PointerTypeLoc>()) { in lookForAttribute()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1409 PointerTypeLoc PtrToFunctionTL = in addFunctionPointerConversion()
1410 ConvTL.getReturnLoc().getAs<PointerTypeLoc>(); in addFunctionPointerConversion()
1413 PointerTypeLoc ConvNamePtrToFunctionTL = in addFunctionPointerConversion()
1414 ConvNamePtrToFunctionTSI->getTypeLoc().getAs<PointerTypeLoc>(); in addFunctionPointerConversion()
H A DSemaStmt.cpp365 PointerTypeLoc TL = TI->getTypeLoc().castAs<PointerTypeLoc>(); in DiagnoseUnusedExprResult()
H A DSemaDecl.cpp6443 if (PointerTypeLoc SrcPTL = SrcTL.getAs<PointerTypeLoc>()) { in FixInvalidVariablyModifiedTypeLoc()
6444 PointerTypeLoc DstPTL = DstTL.castAs<PointerTypeLoc>(); in FixInvalidVariablyModifiedTypeLoc()
H A DSemaType.cpp6006 void VisitPointerTypeLoc(PointerTypeLoc TL) { Visit(TL.getNextTypeLoc()); } in VisitPointerTypeLoc()
6232 void VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc()
H A DTreeTransform.h5016 PointerTypeLoc TL) { in TransformPointerType()
5046 PointerTypeLoc NewT = TLB.push<PointerTypeLoc>(Result); in TransformPointerType()
H A DSemaCodeComplete.cpp6021 if (auto P = Target.getAs<PointerTypeLoc>()) { in GetPrototypeLoc()
H A DSemaDeclCXX.cpp5912 CheckPolymorphic(PointerTypeLoc)
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp922 if (auto PTL = TL->getAs<PointerTypeLoc>()) { in claimTokensFor()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp778 const internal::VariadicDynCastAllOfMatcher<TypeLoc, PointerTypeLoc>
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6582 extern const internal::VariadicDynCastAllOfMatcher<TypeLoc, PointerTypeLoc>
6594 AST_MATCHER_P(PointerTypeLoc, hasPointeeLoc, internal::Matcher<TypeLoc>, in AST_MATCHER_P() argument
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp111 SourceLocation VisitPointerTypeLoc(PointerTypeLoc T) { in VisitPointerTypeLoc()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp291 void TypeLocWriter::VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc()
H A DASTReader.cpp6559 void TypeLocReader::VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp1730 bool CursorVisitor::VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc()