| /llvm-project-15.0.7/clang/unittests/Introspection/ |
| H A D | IntrospectionTest.cpp | 399 STRING_LOCATION_STDPAIR(NNS, getTypeLoc().getBeginLoc()), in TEST() 400 STRING_LOCATION_STDPAIR(NNS, getTypeLoc().getEndLoc())})); in TEST() 411 STRING_LOCATION_PAIR(NNS, getTypeLoc().getSourceRange()), in TEST() 455 TA, getTypeSourceInfo()->getTypeLoc().getBeginLoc()), in TEST() 457 TA, getTypeSourceInfo()->getTypeLoc().getEndLoc()) in TEST() 468 TA, getTypeSourceInfo()->getTypeLoc().getSourceRange()), in TEST() 731 TA, getTypeSourceInfo()->getTypeLoc().getBeginLoc()), in TEST() 733 TA, getTypeSourceInfo()->getTypeLoc().getEndLoc()) in TEST() 744 TA, getTypeSourceInfo()->getTypeLoc().getSourceRange()), in TEST() 888 getTypeSourceInfo()->getTypeLoc().getEndLoc()), in TEST() [all …]
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | AttrTest.cpp | 97 ->getTypeLoc() in TEST() 118 AssertAnnotatedAs(Func->getParamDecl(1)->getTypeSourceInfo()->getTypeLoc(), in TEST() 127 AssertAnnotatedAs(Var->getTypeSourceInfo()->getTypeLoc(), "arr", ArrayTL); in TEST() 139 AssertAnnotatedAs(Var->getTypeSourceInfo()->getTypeLoc(), "funcptr", in TEST() 149 AssertAnnotatedAs(Var->getTypeSourceInfo()->getTypeLoc(), "ptr_to_mem", in TEST() 167 AssertAnnotatedAs(Var->getTypeSourceInfo()->getTypeLoc(), "auto", AutoTL); in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | RecursiveASTVisitor.h | 821 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); 836 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); 951 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1247 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); 1537 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1983 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); 2182 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); 2562 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); 2739 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc())); 2764 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 93 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper() 250 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo() 253 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo() 299 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseNoexceptCheck.cpp | 64 TSI->getTypeLoc().castAs<FunctionTypeLoc>().getExceptionSpecRange(); in check() 73 Range = TSI->getTypeLoc() in check()
|
| H A D | UseAutoCheck.cpp | 333 SourceRange Range(V->getTypeSourceInfo()->getTypeLoc().getSourceRange()); in replaceIterators() 376 auto Q = V->getTypeSourceInfo()->getTypeLoc().getAs<PointerTypeLoc>(); in replaceExpr() 388 TypeLoc Loc = FirstDecl->getTypeSourceInfo()->getTypeLoc(); in replaceExpr()
|
| H A D | PassByValueCheck.cpp | 272 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check() 282 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check()
|
| H A D | RedundantVoidArgCheck.cpp | 265 NamedCast->getTypeInfoAsWritten()->getTypeLoc().getSourceRange(), in processNamedCastExpr() 282 TypeLoc TL = Lambda->getLambdaClass()->getLambdaTypeInfo()->getTypeLoc(); in processLambdaExpr()
|
| H A D | UseTransparentFunctorsCheck.cpp | 114 FunctorLoc.getTypeSourceInfo()->getTypeLoc()); in check()
|
| H A D | MakeSmartPtrCheck.cpp | 31 NewExpr->getAllocatedTypeSourceInfo()->getTypeLoc().getSourceRange()), in getNewExprName() 422 New->getAllocatedTypeSourceInfo()->getTypeLoc().getBeginLoc(), in replaceNew()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SmartPtrArrayMismatchCheck.cpp | 96 ->getTypeLoc() in check() 103 ->getTypeLoc() in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ConvertMemberFunctionsToStatic.cpp | 47 Node.getTypeSourceInfo()->getTypeLoc().getSourceRange()), in AST_MATCHER() 110 const auto FTL = TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getLocationOfConst()
|
| H A D | MakeMemberFunctionConstCheck.cpp | 42 Node.getTypeSourceInfo()->getTypeLoc().getSourceRange()), in AST_MATCHER() 247 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getConstInsertionPoint()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | TwineLocalCheck.cpp | 46 VD->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in check()
|
| H A D | PreferRegisterOverUnsignedCheck.cpp | 60 UserVarDecl->getTypeSourceInfo()->getTypeLoc().getSourceRange(), in check()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransARCAssign.cpp | 60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
| H A D | TransGCAttrs.cpp | 63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() 242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ASTTests.cpp | 354 ParamsWithAuto[I]->getTypeSourceInfo()->getTypeLoc()); in TEST() 363 ParamWithoutAuto->getTypeSourceInfo()->getTypeLoc()) in TEST()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Comment.cpp | 177 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc() 350 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
| H A D | ExprCXX.cpp | 177 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc() 317 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage() 344 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getEndLoc() 869 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc() 988 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr() 1024 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc() 1363 return TSI->getTypeLoc().getBeginLoc(); in getBeginLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExpandAutoType.cpp | 72 DD->getTypeSourceInfo()->getTypeLoc().getBeginLoc() == Loc) { in isDeducedAsLambda()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TypeLocBuilder.h | 108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
|
| H A D | SemaTemplateVariadic.cpp | 391 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack() 609 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion() 615 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion() 1067 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 274 auto STL = TSI->getTypeLoc().getAs<TemplateSpecializationTypeLoc>(); in printTemplateSpecializationArgs() 450 D->getTypeSourceInfo()->getTypeLoc().getBeginLoc() != SearchedLocation) in VisitDeclaratorDecl() 472 CurLoc = D->getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in VisitFunctionDecl() 519 getContainedAutoParamType(PVD->getTypeSourceInfo()->getTypeLoc()); in VisitParmVarDecl()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations() 360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
|