/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 31 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()
|
D | CIndex.cpp | 1455 return Visit(MakeCursorTypeRef(TL.getTypedefNameDecl(), TL.getNameLoc(), TU)); in VisitTypedefTypeLoc() 1459 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitUnresolvedUsingTypeLoc() 1466 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTagTypeLoc() 1470 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTemplateTypeParmTypeLoc() 1474 if (Visit(MakeCursorObjCClassRef(TL.getIFaceDecl(), TL.getNameLoc(), TU))) in VisitObjCInterfaceTypeLoc() 1630 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitInjectedClassNameTypeLoc()
|
D | CXCursor.cpp | 783 void *RawLoc = E->getNameLoc().getPtrEncoding(); in MakeCursorOverloadedDeclRef()
|
D | IndexingContext.cpp | 173 return DL.getNameLoc(); in getBaseLoc()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 460 SourceLocation getNameLoc() const { in getNameLoc() function 467 return SourceRange(getNameLoc(), getNameLoc()); in getLocalSourceRange() 496 SourceLocation getNameLoc() const { return getBuiltinLoc(); } in getNameLoc() function 634 (D->getIdentifier() == nullptr || D->getLocation() == getNameLoc()); in isDefinition() 908 SourceLocation getNameLoc() const { in getNameLoc() function 917 return SourceRange(getNameLoc(), getNameEndLoc()); in getLocalSourceRange() 1720 SourceLocation getNameLoc() const { in getNameLoc() function 1729 return SourceRange(getElaboratedKeywordLoc(), getNameLoc()); in getLocalSourceRange() 1731 return SourceRange(getQualifierLoc().getBeginLoc(), getNameLoc()); in getLocalSourceRange()
|
D | ExprCXX.h | 2364 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() function 3259 SourceLocation getMemberLoc() const { return getNameLoc(); } in getMemberLoc() 3541 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc() function
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 249 Diag(R.getNameLoc(), diag::warn_cxx98_compat_non_static_member_use) in BuildPossibleImplicitMemberExpr() 627 SemaRef.Diag(R.getNameLoc(), diag::err_qualified_member_nonclass) in LookupMemberExprInRecord() 926 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr() 985 Diag(R.getNameLoc(), diag::err_no_member) in BuildMemberReferenceExpr() 1041 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr() 1194 SourceLocation MemberLoc = R.getNameLoc(); in LookupMemberExpr() 1733 SourceLocation loc = R.getNameLoc(); in BuildImplicitMemberExpr() 1743 SourceLocation Loc = R.getNameLoc(); in BuildImplicitMemberExpr()
|
D | SemaTemplateInstantiate.cpp | 1351 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1369 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1386 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1397 TransformDecl(TL.getNameLoc(), OldTTPDecl)); in TransformTemplateTypeParmType() 1406 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1418 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType() 1431 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
|
D | TreeTransform.h | 3766 NewT.setNameLoc(T.getNameLoc()); in TransformTypeSpecType() 4168 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType() 4171 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType() 4195 NewTL.setNameLoc(TL.getNameLoc()); in TransformVectorType() 4219 NewTL.setNameLoc(TL.getNameLoc()); in TransformExtVectorType() 4582 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType() 4596 NewTL.setNameLoc(TL.getNameLoc()); in TransformUnresolvedUsingType() 4606 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType() 4620 NewTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType() 4701 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType() [all …]
|
D | SemaAccess.cpp | 1542 return CheckAccess(*this, E->getNameLoc(), Entity); in CheckUnresolvedLookupAccess() 1787 return CheckAccess(*this, Ovl->getNameLoc(), Entity); in CheckAddressOfMemberAccess() 1842 CheckAccess(*this, R.getNameLoc(), Entity); in CheckLookupAccess()
|
D | SemaLookup.cpp | 541 R.getNameLoc())) { in LookupBuiltin() 726 TemplateDeductionInfo Info(R.getNameLoc()); in LookupDirect() 1839 SourceLocation NameLoc = Result.getNameLoc(); in DiagnoseAmbiguousLookup() 2734 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in LookupLiteralOperator() 2750 Diag(R.getNameLoc(), diag::err_ovl_no_viable_literal_operator) in LookupLiteralOperator() 3142 Result.getNameLoc(), Sema::LookupMemberName); in LookupVisibleDecls()
|
D | SemaTemplateVariadic.cpp | 55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
|
D | SemaCXXScopeSpec.cpp | 532 Diag(R.getNameLoc(), diag::err_expected_class_or_namespace) in BuildCXXNestedNameSpecifier()
|
D | SemaOverload.cpp | 9668 FailedCandidates(OvlExpr->getNameLoc()) { in AddressOfFunctionResolver() 9922 S.Diag(OvlExpr->getNameLoc(), diag::err_addr_ovl_no_qualifier) in ComplainIsInvalidFormOfPointerToMemberFunction() 10043 TemplateSpecCandidateSet FailedCandidates(ovl->getNameLoc()); in ResolveSingleFunctionTemplateSpecialization() 10363 SemaRef.Diag(R.getNameLoc(), diag::err_not_found_by_two_phase_lookup) in DiagnoseTwoPhaseLookup() 10456 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(), in BuildRecoveryCallExpr() 10581 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc())) in FinishOverloadedCallExpr() 11448 if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc())) in BuildCallToMemberFunction() 11457 DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc())) in BuildCallToMemberFunction() 11987 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in BuildLiteralOperatorCall() 12194 ULE->getNameLoc(), in FixOverloadedFunctionReference()
|
D | SemaExpr.cpp | 1772 Diag(R.getNameLoc(), diagnostic) << Name in DiagnoseEmptyLookup() 1773 << FixItHint::CreateInsertion(R.getNameLoc(), "this->"); in DiagnoseEmptyLookup() 1790 CheckCXXThisCapture(R.getNameLoc()); in DiagnoseEmptyLookup() 1792 R.getNameLoc(), DepThisType, false); in DiagnoseEmptyLookup() 1808 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup() 1820 Diag(R.getNameLoc(), diag::err_member_call_without_object); in DiagnoseEmptyLookup() 1857 OverloadCandidateSet OCS(R.getNameLoc(), in DiagnoseEmptyLookup() 1873 switch (OCS.BestViableFunction(*this, R.getNameLoc(), Best)) { in DiagnoseEmptyLookup() 1935 Diag(R.getNameLoc(), diag::err_no_member) in DiagnoseEmptyLookup() 1942 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup() [all …]
|
D | SemaTemplateDeduction.cpp | 3078 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction() 3109 TemplateDeductionInfo Info(Ovl->getNameLoc()); in ResolveOverloadForDeduction() 3927 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType() 3937 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
|
D | SemaTemplate.cpp | 366 LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(), in LookupTemplateName() 387 Diag(Found.getNameLoc(), in LookupTemplateName() 1513 return !Matches(TL.getTypePtr()->getDepth(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
|
D | SemaDecl.cpp | 5744 if (Diags.isIgnored(diag::warn_decl_shadow, R.getNameLoc())) in CheckShadow() 5809 if (getSourceManager().isInSystemMacro(R.getNameLoc())) in CheckShadow() 5811 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 463 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc() 509 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentSizedExtVectorTypeLoc() 512 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitVectorTypeLoc() 515 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitExtVectorTypeLoc() 532 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitUnresolvedUsingTypeLoc() 535 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTypedefTypeLoc() 549 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDecltypeTypeLoc() 558 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitAutoTypeLoc() 561 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitRecordTypeLoc() 564 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitEnumTypeLoc() [all …]
|
D | ASTWriterStmt.cpp | 1543 Writer.AddSourceLocation(E->getNameLoc(), Record); in VisitSubstNonTypeTemplateParmExpr()
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 541 SourceLocation getNameLoc() const { in getNameLoc() function
|