Home
last modified time | relevance | path

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

123

/external/clang/include/clang/AST/
DRecursiveASTVisitor.h741 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
756 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
829 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
867 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1207 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1216 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1276 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1330 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1355 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1362 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
DDeclFriend.h149 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
DNestedNameSpecifier.h319 TypeLoc getTypeLoc() const;
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp54 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
134 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
137 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase); in indexTypeSourceInfo()
182 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
DTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
246 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/external/clang/lib/AST/
DComment.cpp238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in fill()
DExprCXX.cpp59 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart()
159 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
207 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getLocEnd()
652 return getTypeInfoAsWritten()->getTypeLoc().getLocStart(); in getLocStart()
730 Type->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
741 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
1105 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
DNestedNameSpecifier.cpp438 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
642 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
DDeclTemplate.cpp492 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
499 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
783 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
DTemplateBase.cpp448 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
DDecl.cpp1645 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1745 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
2916 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getReturnTypeSourceRange()
3648 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
4172 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
4180 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
DExprObjC.cpp296 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
/external/clang/lib/Sema/
DTypeLocBuilder.h111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
DSemaTemplateVariadic.cpp275 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
472 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
478 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
894 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
DSemaType.cpp849 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs()
926 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
954 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
972 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
975 << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs()
1103 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1163 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
1176 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
1215 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
4061 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator()
[all …]
DSemaDeclObjC.cpp586 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getLocEnd()); in ActOnSuperClassOfClassInterface()
609 typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
610 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
618 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
630 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
642 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam()
661 : typeBoundInfo->getTypeLoc().getLocStart(), in actOnObjCTypeParam()
846 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2215 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4355 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
DSemaDeclCXX.cpp888 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
1369 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
1373 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
2999 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer()
3139 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()
3142 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
3197 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()
3201 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
3255 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
3274 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
[all …]
DSemaTemplateInstantiateDecl.cpp111 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
903 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
940 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2043 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2198 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
2684 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3210 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
3214 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
4253 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
DSemaTemplateInstantiate.cpp1521 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
1559 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
1596 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec()
1612 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
1758 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp203 result, tsi->getTypeLoc().getBeginLoc(), tsi->getTypeLoc().getEndLoc())); in run()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp312 if (it->getTypeSourceInfo()->getTypeLoc().getTypeLocClass() == in CheckCtorDtorWeight()
472 ->getTypeLoc() in CheckVirtualMethods()
1006 var_decl->getTypeSourceInfo()->getTypeLoc().getLocEnd()); in CheckVarDecl()
/external/clang/tools/libclang/
DCIndex.cpp548 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren()
559 A->getInterfaceLoc()->getTypeLoc().getLocStart(), TU)); in VisitChildren()
582 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl()
683 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl()
690 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl()
719 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl()
752 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl()
773 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl()
801 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl()
853 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp299 type_source_info->getTypeLoc().getSourceRange()); in run()

123