Home
last modified time | relevance | path

Searched refs:getTypeLoc (Results 1 – 25 of 84) sorted by relevance

1234

/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp399 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 DAttrTest.cpp97 ->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 DRecursiveASTVisitor.h821 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 DIndexTypeSourceInfo.cpp93 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 DUseNoexceptCheck.cpp64 TSI->getTypeLoc().castAs<FunctionTypeLoc>().getExceptionSpecRange(); in check()
73 Range = TSI->getTypeLoc() in check()
H A DUseAutoCheck.cpp333 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 DPassByValueCheck.cpp272 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check()
282 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check()
H A DRedundantVoidArgCheck.cpp265 NamedCast->getTypeInfoAsWritten()->getTypeLoc().getSourceRange(), in processNamedCastExpr()
282 TypeLoc TL = Lambda->getLambdaClass()->getLambdaTypeInfo()->getTypeLoc(); in processLambdaExpr()
H A DUseTransparentFunctorsCheck.cpp114 FunctorLoc.getTypeSourceInfo()->getTypeLoc()); in check()
H A DMakeSmartPtrCheck.cpp31 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 DSmartPtrArrayMismatchCheck.cpp96 ->getTypeLoc() in check()
103 ->getTypeLoc() in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DConvertMemberFunctionsToStatic.cpp47 Node.getTypeSourceInfo()->getTypeLoc().getSourceRange()), in AST_MATCHER()
110 const auto FTL = TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getLocationOfConst()
H A DMakeMemberFunctionConstCheck.cpp42 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 DTwineLocalCheck.cpp46 VD->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in check()
H A DPreferRegisterOverUnsignedCheck.cpp60 UserVarDecl->getTypeSourceInfo()->getTypeLoc().getSourceRange(), in check()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
H A DTransGCAttrs.cpp63 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 DASTTests.cpp354 ParamsWithAuto[I]->getTypeSourceInfo()->getTypeLoc()); in TEST()
363 ParamWithoutAuto->getTypeSourceInfo()->getTypeLoc()) in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp177 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc()
350 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp177 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 DExpandAutoType.cpp72 DD->getTypeSourceInfo()->getTypeLoc().getBeginLoc() == Loc) { in isDeducedAsLambda()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTypeLocBuilder.h108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaTemplateVariadic.cpp391 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 DAST.cpp274 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 DUSRLocFinder.cpp357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()

1234