Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp31 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc()
51 if (D->getLocation() == TL.getNameLoc()) in VisitTagTypeLoc()
54 IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
60 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
DCIndex.cpp1514 return Visit(MakeCursorTypeRef(TL.getTypedefNameDecl(), TL.getNameLoc(), TU)); in VisitTypedefTypeLoc()
1518 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitUnresolvedUsingTypeLoc()
1525 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTagTypeLoc()
1529 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTemplateTypeParmTypeLoc()
1533 return Visit(MakeCursorObjCClassRef(TL.getIFaceDecl(), TL.getNameLoc(), TU)); in VisitObjCInterfaceTypeLoc()
1688 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitInjectedClassNameTypeLoc()
DIndexingContext.cpp173 return DL.getNameLoc(); in getBaseLoc()
DCXCursor.cpp861 void *RawLoc = E->getNameLoc().getPtrEncoding(); in MakeCursorOverloadedDeclRef()
/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.h2533 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() function
3437 SourceLocation getMemberLoc() const { return getNameLoc(); } in getMemberLoc()
3749 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc() function
/external/clang/lib/Sema/
DSemaExprMember.cpp250 Diag(R.getNameLoc(), diag::warn_cxx98_compat_non_static_member_use) in BuildPossibleImplicitMemberExpr()
638 SemaRef.Diag(R.getNameLoc(), diag::err_qualified_member_nonclass) in LookupMemberExprInRecord()
651 SourceLocation TypoLoc = R.getNameLoc(); in LookupMemberExprInRecord()
965 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr()
1034 Diag(R.getNameLoc(), diag::err_no_member) in BuildMemberReferenceExpr()
1090 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr()
1235 SourceLocation MemberLoc = R.getNameLoc(); in LookupMemberExpr()
1768 SourceLocation loc = R.getNameLoc(); in BuildImplicitMemberExpr()
1778 SourceLocation Loc = R.getNameLoc(); in BuildImplicitMemberExpr()
DSemaTemplateInstantiate.cpp1340 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1358 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1375 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1386 TransformDecl(TL.getNameLoc(), OldTTPDecl)); in TransformTemplateTypeParmType()
1395 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
1407 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
1420 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
DTreeTransform.h4079 NewT.setNameLoc(T.getNameLoc()); in TransformTypeSpecType()
4481 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4484 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4508 NewTL.setNameLoc(TL.getNameLoc()); in TransformVectorType()
4532 NewTL.setNameLoc(TL.getNameLoc()); in TransformExtVectorType()
5005 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType()
5019 NewTL.setNameLoc(TL.getNameLoc()); in TransformUnresolvedUsingType()
5029 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType()
5043 NewTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType()
5124 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType()
[all …]
DSemaAccess.cpp1547 return CheckAccess(*this, E->getNameLoc(), Entity); in CheckUnresolvedLookupAccess()
1792 return CheckAccess(*this, Ovl->getNameLoc(), Entity); in CheckAddressOfMemberAccess()
1847 CheckAccess(*this, R.getNameLoc(), Entity); in CheckLookupAccess()
DSemaLookup.cpp601 getNameLoc(), HasNonFunction, EquivalentNonFunctions); in resolveKind()
689 R.getNameLoc())) { in LookupBuiltin()
874 TemplateDeductionInfo Info(R.getNameLoc()); in LookupDirect()
2215 SourceLocation NameLoc = Result.getNameLoc(); in DiagnoseAmbiguousLookup()
3110 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in LookupLiteralOperator()
3126 Diag(R.getNameLoc(), diag::err_ovl_no_viable_literal_operator) in LookupLiteralOperator()
3544 Result.getNameLoc(), Sema::LookupMemberName); in LookupVisibleDecls()
DSemaTemplateVariadic.cpp55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
DSemaCXXScopeSpec.cpp580 Diag(R.getNameLoc(), diag::err_expected_class_or_namespace) in BuildCXXNestedNameSpecifier()
DSemaTemplateDeduction.cpp3055 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction()
3086 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction()
3954 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
3964 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
DSemaExpr.cpp1842 Diag(R.getNameLoc(), diagnostic) << Name in DiagnoseEmptyLookup()
1843 << FixItHint::CreateInsertion(R.getNameLoc(), "this->"); in DiagnoseEmptyLookup()
1844 CheckCXXThisCapture(R.getNameLoc()); in DiagnoseEmptyLookup()
1846 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup()
1858 Diag(R.getNameLoc(), diag::err_member_call_without_object); in DiagnoseEmptyLookup()
1884 SourceLocation TypoLoc = R.getNameLoc(); in DiagnoseEmptyLookup()
1909 OverloadCandidateSet OCS(R.getNameLoc(), in DiagnoseEmptyLookup()
1923 switch (OCS.BestViableFunction(*this, R.getNameLoc(), Best)) { in DiagnoseEmptyLookup()
1985 Diag(R.getNameLoc(), diag::err_no_member) in DiagnoseEmptyLookup()
1992 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup()
[all …]
DSemaOverload.cpp10148 FailedCandidates(OvlExpr->getNameLoc(), /*ForTakingAddress=*/true) { in AddressOfFunctionResolver()
10456 S.Diag(OvlExpr->getNameLoc(), diag::err_addr_ovl_no_qualifier) in ComplainIsInvalidFormOfPointerToMemberFunction()
10580 TemplateSpecCandidateSet FailedCandidates(ovl->getNameLoc()); in ResolveSingleFunctionTemplateSpecialization()
10906 SemaRef.Diag(R.getNameLoc(), diag::err_not_found_by_two_phase_lookup) in DiagnoseTwoPhaseLookup()
11008 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(), in BuildRecoveryCallExpr()
11135 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc())) in FinishOverloadedCallExpr()
12023 if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
12032 DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
12594 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in BuildLiteralOperatorCall()
12796 ULE->getNameLoc(), in FixOverloadedFunctionReference()
DSemaTemplate.cpp367 LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(), in LookupTemplateName()
388 Diag(Found.getNameLoc(), in LookupTemplateName()
1543 return !Matches(TL.getTypePtr()->getDepth(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
DSemaDecl.cpp6303 if (Diags.isIgnored(diag::warn_decl_shadow, R.getNameLoc())) in CheckShadow()
6368 if (getSourceManager().isInSystemMacro(R.getNameLoc())) in CheckShadow()
6370 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()
/external/clang/lib/Serialization/
DASTWriter.cpp483 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
529 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentSizedExtVectorTypeLoc()
532 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitVectorTypeLoc()
535 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitExtVectorTypeLoc()
552 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitUnresolvedUsingTypeLoc()
555 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTypedefTypeLoc()
569 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDecltypeTypeLoc()
578 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitAutoTypeLoc()
581 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitRecordTypeLoc()
584 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitEnumTypeLoc()
[all …]
DASTWriterStmt.cpp1601 Writer.AddSourceLocation(E->getNameLoc(), Record); in VisitSubstNonTypeTemplateParmExpr()
/external/clang/include/clang/Sema/
DLookup.h545 SourceLocation getNameLoc() const { in getNameLoc() function