Home
last modified time | relevance | path

Searched refs:getNameLoc (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp40 return IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc()
89 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
95 return IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
/external/clang/include/clang/AST/
DTypeLoc.h493 SourceLocation getNameLoc() const { in getNameLoc() function
500 return SourceRange(getNameLoc(), getNameLoc()); in getLocalSourceRange()
529 SourceLocation getNameLoc() const { return getBuiltinLoc(); } in getNameLoc() function
667 (D->getIdentifier() == nullptr || D->getLocation() == getNameLoc()); in isDefinition()
990 SourceLocation getNameLoc() const { in getNameLoc() function
999 return SourceRange(getNameLoc(), getNameEndLoc()); in getLocalSourceRange()
1804 SourceLocation getNameLoc() const { in getNameLoc() function
1813 return SourceRange(getElaboratedKeywordLoc(), getNameLoc()); in getLocalSourceRange()
1815 return SourceRange(getQualifierLoc().getBeginLoc(), getNameLoc()); in getLocalSourceRange()
DExprCXX.h2590 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() function
3469 SourceLocation getMemberLoc() const { return getNameLoc(); } in getMemberLoc()
3794 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc() function
/external/clang/lib/Sema/
DSemaExprMember.cpp251 Diag(R.getNameLoc(), diag::warn_cxx98_compat_non_static_member_use) in BuildPossibleImplicitMemberExpr()
652 SemaRef.Diag(R.getNameLoc(), diag::err_qualified_member_nonclass) in LookupMemberExprInRecord()
665 SourceLocation TypoLoc = R.getNameLoc(); in LookupMemberExprInRecord()
1005 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr()
1074 Diag(R.getNameLoc(), diag::err_no_member) in BuildMemberReferenceExpr()
1144 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr()
1298 SourceLocation MemberLoc = R.getNameLoc(); in LookupMemberExpr()
1844 SourceLocation loc = R.getNameLoc(); in BuildImplicitMemberExpr()
1854 SourceLocation Loc = R.getNameLoc(); in BuildImplicitMemberExpr()
DSemaTemplateInstantiate.cpp1342 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1360 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1377 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1388 TransformDecl(TL.getNameLoc(), OldTTPDecl)); in TransformTemplateTypeParmType()
1397 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1409 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
1422 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
DTreeTransform.h4185 NewT.setNameLoc(T.getNameLoc()); in TransformTypeSpecType()
4587 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4590 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4614 NewTL.setNameLoc(TL.getNameLoc()); in TransformVectorType()
4638 NewTL.setNameLoc(TL.getNameLoc()); in TransformExtVectorType()
5150 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType()
5164 NewTL.setNameLoc(TL.getNameLoc()); in TransformUnresolvedUsingType()
5174 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType()
5188 NewTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType()
5269 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType()
[all …]
DSemaCXXScopeSpec.cpp604 Diag(R.getNameLoc(), diag::err_expected_class_or_namespace) in BuildCXXNestedNameSpecifier()
636 SourceRange(Found.getNameLoc())); in BuildCXXNestedNameSpecifier()
DSemaAccess.cpp1542 return CheckAccess(*this, E->getNameLoc(), Entity); in CheckUnresolvedLookupAccess()
1799 return CheckAccess(*this, Ovl->getNameLoc(), Entity); in CheckAddressOfMemberAccess()
1854 CheckAccess(*this, R.getNameLoc(), Entity); in CheckLookupAccess()
DSemaLookup.cpp612 getNameLoc(), HasNonFunction, EquivalentNonFunctions); in resolveKind()
704 R.getNameLoc())) { in LookupBuiltin()
889 TemplateDeductionInfo Info(R.getNameLoc()); in LookupDirect()
2305 SourceLocation NameLoc = Result.getNameLoc(); in DiagnoseAmbiguousLookup()
3199 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in LookupLiteralOperator()
3215 Diag(R.getNameLoc(), diag::err_ovl_no_viable_literal_operator) in LookupLiteralOperator()
3630 Result.getNameLoc(), Sema::LookupMemberName); in LookupVisibleDecls()
DSemaTemplateVariadic.cpp55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
DSemaTemplateDeduction.cpp3047 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction()
3078 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction()
3946 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
3956 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
DSemaExpr.cpp1905 Diag(R.getNameLoc(), diagnostic) << Name in DiagnoseEmptyLookup()
1906 << FixItHint::CreateInsertion(R.getNameLoc(), "this->"); in DiagnoseEmptyLookup()
1907 CheckCXXThisCapture(R.getNameLoc()); in DiagnoseEmptyLookup()
1909 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup()
1921 Diag(R.getNameLoc(), diag::err_member_call_without_object); in DiagnoseEmptyLookup()
1947 SourceLocation TypoLoc = R.getNameLoc(); in DiagnoseEmptyLookup()
1972 OverloadCandidateSet OCS(R.getNameLoc(), in DiagnoseEmptyLookup()
1986 switch (OCS.BestViableFunction(*this, R.getNameLoc(), Best)) { in DiagnoseEmptyLookup()
2048 Diag(R.getNameLoc(), diag::err_no_member) in DiagnoseEmptyLookup()
2055 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup()
[all …]
DSemaOverload.cpp10304 FailedCandidates(OvlExpr->getNameLoc(), /*ForTakingAddress=*/true) { in AddressOfFunctionResolver()
10620 S.Diag(OvlExpr->getNameLoc(), diag::err_addr_ovl_no_qualifier) in ComplainIsInvalidFormOfPointerToMemberFunction()
10810 TemplateSpecCandidateSet FailedCandidates(ovl->getNameLoc()); in ResolveSingleFunctionTemplateSpecialization()
11136 SemaRef.Diag(R.getNameLoc(), diag::err_not_found_by_two_phase_lookup) in DiagnoseTwoPhaseLookup()
11238 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(), in BuildRecoveryCallExpr()
11365 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc())) in FinishOverloadedCallExpr()
12270 if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
12279 DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
12851 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in BuildLiteralOperatorCall()
13056 ULE->getNameLoc(), in FixOverloadedFunctionReference()
DSemaTemplate.cpp369 LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(), in LookupTemplateName()
390 Diag(Found.getNameLoc(), in LookupTemplateName()
1560 return !Matches(TL.getTypePtr()->getDepth(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
DSemaDecl.cpp6533 if (Diags.isIgnored(diag::warn_decl_shadow, R.getNameLoc())) in CheckShadow()
6598 if (getSourceManager().isInSystemMacro(R.getNameLoc())) in CheckShadow()
6601 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()
/external/clang/lib/Serialization/
DASTWriter.cpp517 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
563 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentSizedExtVectorTypeLoc()
566 Record.AddSourceLocation(TL.getNameLoc()); in VisitVectorTypeLoc()
569 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtVectorTypeLoc()
586 Record.AddSourceLocation(TL.getNameLoc()); in VisitUnresolvedUsingTypeLoc()
589 Record.AddSourceLocation(TL.getNameLoc()); in VisitTypedefTypeLoc()
603 Record.AddSourceLocation(TL.getNameLoc()); in VisitDecltypeTypeLoc()
612 Record.AddSourceLocation(TL.getNameLoc()); in VisitAutoTypeLoc()
615 Record.AddSourceLocation(TL.getNameLoc()); in VisitRecordTypeLoc()
618 Record.AddSourceLocation(TL.getNameLoc()); in VisitEnumTypeLoc()
[all …]
DASTWriterStmt.cpp1621 Record.AddSourceLocation(E->getNameLoc()); in VisitSubstNonTypeTemplateParmExpr()
/external/clang/include/clang/Sema/
DLookup.h589 SourceLocation getNameLoc() const { in getNameLoc() function
/external/clang/tools/libclang/
DCIndex.cpp1515 return Visit(MakeCursorTypeRef(TL.getTypedefNameDecl(), TL.getNameLoc(), TU)); in VisitTypedefTypeLoc()
1519 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitUnresolvedUsingTypeLoc()
1526 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTagTypeLoc()
1530 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTemplateTypeParmTypeLoc()
1534 return Visit(MakeCursorObjCClassRef(TL.getIFaceDecl(), TL.getNameLoc(), TU)); in VisitObjCInterfaceTypeLoc()
1689 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitInjectedClassNameTypeLoc()
DCXIndexDataConsumer.cpp385 return DL.getNameLoc(); in getBaseLoc()
DCXCursor.cpp889 void *RawLoc = E->getNameLoc().getPtrEncoding(); in MakeCursorOverloadedDeclRef()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1049 return expr.getNameLoc(); in GetLoc()