/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc() 52 if (D->getLocation() == TL.getNameLoc()) in VisitTagTypeLoc() 55 IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc() 61 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
|
D | CIndex.cpp | 1380 return Visit(MakeCursorTypeRef(TL.getTypedefNameDecl(), TL.getNameLoc(), TU)); in VisitTypedefTypeLoc() 1384 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitUnresolvedUsingTypeLoc() 1391 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTagTypeLoc() 1395 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitTemplateTypeParmTypeLoc() 1399 if (Visit(MakeCursorObjCClassRef(TL.getIFaceDecl(), TL.getNameLoc(), TU))) in VisitObjCInterfaceTypeLoc() 1547 return Visit(MakeCursorTypeRef(TL.getDecl(), TL.getNameLoc(), TU)); in VisitInjectedClassNameTypeLoc()
|
D | CXCursor.cpp | 711 void *RawLoc = reinterpret_cast<void *>(E->getNameLoc().getRawEncoding()); in MakeCursorOverloadedDeclRef()
|
D | IndexingContext.cpp | 175 return DL->getNameLoc(); in getBaseLoc()
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 239 Diag(R.getNameLoc(), diag::warn_cxx98_compat_non_static_member_use) in BuildPossibleImplicitMemberExpr() 598 SemaRef.Diag(R.getNameLoc(), diag::err_qualified_member_nonclass) in LookupMemberExprInRecord() 625 SemaRef.Diag(R.getNameLoc(), diag::err_no_member_suggest) in LookupMemberExprInRecord() 627 << FixItHint::CreateReplacement(R.getNameLoc(), CorrectedStr); in LookupMemberExprInRecord() 857 Diag(R.getNameLoc(), diag::err_no_member) in BuildMemberReferenceExpr() 913 SourceLocation Loc = R.getNameLoc(); in BuildMemberReferenceExpr() 1067 SourceLocation MemberLoc = R.getNameLoc(); in LookupMemberExpr() 1161 Diag(R.getNameLoc(), in LookupMemberExpr() 1164 << FixItHint::CreateReplacement(R.getNameLoc(), in LookupMemberExpr() 1608 SourceLocation loc = R.getNameLoc(); in BuildImplicitMemberExpr() [all …]
|
D | SemaCXXScopeSpec.cpp | 522 Diag(Found.getNameLoc(), diag::err_no_member_suggest) in BuildCXXNestedNameSpecifier() 524 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in BuildCXXNestedNameSpecifier() 526 Diag(Found.getNameLoc(), diag::err_undeclared_var_use_suggest) in BuildCXXNestedNameSpecifier() 528 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in BuildCXXNestedNameSpecifier()
|
D | SemaTemplateInstantiate.cpp | 1285 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1303 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1321 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1332 TransformDecl(TL.getNameLoc(), OldTTPDecl)); in TransformTemplateTypeParmType() 1341 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType() 1353 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType() 1367 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
|
D | TreeTransform.h | 3496 NewT.setNameLoc(T.getNameLoc()); in TransformTypeSpecType() 3865 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType() 3868 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType() 3892 NewTL.setNameLoc(TL.getNameLoc()); in TransformVectorType() 3916 NewTL.setNameLoc(TL.getNameLoc()); in TransformExtVectorType() 4293 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType() 4307 NewTL.setNameLoc(TL.getNameLoc()); in TransformUnresolvedUsingType() 4317 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType() 4331 NewTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType() 4411 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType() [all …]
|
D | SemaAccess.cpp | 1495 return CheckAccess(*this, E->getNameLoc(), Entity); in CheckUnresolvedLookupAccess() 1712 return CheckAccess(*this, Ovl->getNameLoc(), Entity); in CheckAddressOfMemberAccess() 1770 CheckAccess(*this, R.getNameLoc(), Entity); in CheckLookupAccess()
|
D | SemaExpr.cpp | 1405 Diag(R.getNameLoc(), diagnostic) << Name in DiagnoseEmptyLookup() 1406 << FixItHint::CreateInsertion(R.getNameLoc(), "this->"); in DiagnoseEmptyLookup() 1408 CheckCXXThisCapture(R.getNameLoc()); in DiagnoseEmptyLookup() 1410 R.getNameLoc(), DepThisType, false); in DiagnoseEmptyLookup() 1428 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup() 1433 Diag(R.getNameLoc(), diagnostic) << Name; in DiagnoseEmptyLookup() 1445 Diag(R.getNameLoc(), diag::err_member_call_without_object); in DiagnoseEmptyLookup() 1478 OverloadCandidateSet OCS(R.getNameLoc()); in DiagnoseEmptyLookup() 1493 switch (OCS.BestViableFunction(*this, R.getNameLoc(), Best)) { in DiagnoseEmptyLookup() 1504 Diag(R.getNameLoc(), diagnostic_suggest) << Name << CorrectedQuotedStr in DiagnoseEmptyLookup() [all …]
|
D | SemaLookup.cpp | 510 R.getNameLoc())) { in LookupBuiltin() 710 TemplateDeductionInfo Info(R.getSema().Context, R.getNameLoc()); in LookupDirect() 1659 SourceLocation NameLoc = Result.getNameLoc(); in DiagnoseAmbiguousLookup() 2606 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in LookupLiteralOperator() 2625 Diag(R.getNameLoc(), diag::err_ovl_no_viable_literal_operator) in LookupLiteralOperator() 3041 Result.getNameLoc(), Sema::LookupMemberName); in LookupVisibleDecls()
|
D | SemaTemplateVariadic.cpp | 51 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
|
D | SemaTemplateDeduction.cpp | 2764 TemplateDeductionInfo Info(S.Context, Ovl->getNameLoc()); in ResolveOverloadForDeduction() 2795 TemplateDeductionInfo Info(S.Context, Ovl->getNameLoc()); in ResolveOverloadForDeduction() 3453 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType() 3458 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
|
D | SemaTemplate.cpp | 334 Diag(Found.getNameLoc(), diag::err_no_member_template_suggest) in LookupTemplateName() 336 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in LookupTemplateName() 338 Diag(Found.getNameLoc(), diag::err_no_template_suggest) in LookupTemplateName() 340 << FixItHint::CreateReplacement(Found.getNameLoc(), CorrectedStr); in LookupTemplateName() 363 LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(), in LookupTemplateName() 384 Diag(Found.getNameLoc(), in LookupTemplateName()
|
D | SemaOverload.cpp | 8836 TemplateDeductionInfo Info(Context, OvlExpr->getNameLoc()); in AddMatchingTemplateFunction() 8987 S.Diag(OvlExpr->getNameLoc(), diag::err_addr_ovl_no_qualifier) in ComplainIsInvalidFormOfPointerToMemberFunction() 9114 TemplateDeductionInfo Info(Context, ovl->getNameLoc()); in ResolveSingleFunctionTemplateSpecialization() 9383 SemaRef.Diag(R.getNameLoc(), diag::err_not_found_by_two_phase_lookup) in DiagnoseTwoPhaseLookup() 9513 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(), in BuildRecoveryCallExpr() 9627 DiagnoseUseOfDecl(FDecl, ULE->getNameLoc()); in BuildOverloadedCallExpr() 10483 DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc()); in BuildCallToMemberFunction() 11014 Diag(R.getNameLoc(), diag::err_ovl_ambiguous_call) << R.getLookupName(); in BuildLiteralOperatorCall() 11148 ULE->getNameLoc(), in FixOverloadedFunctionReference()
|
D | SemaDeclCXX.cpp | 1901 Diag(R.getNameLoc(), diag::err_mem_init_not_member_or_class_suggest) in BuildMemInitializer() 1903 << FixItHint::CreateReplacement(R.getNameLoc(), CorrectedStr); in BuildMemInitializer() 1917 Diag(R.getNameLoc(), diag::err_mem_init_not_member_or_class_suggest) in BuildMemInitializer() 1919 << FixItHint::CreateReplacement(R.getNameLoc(), CorrectedStr); in BuildMemInitializer()
|
D | SemaDecl.cpp | 4216 if (Diags.getDiagnosticLevel(diag::warn_decl_shadow, R.getNameLoc()) == in CheckShadow() 4284 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 406 SourceLocation getNameLoc() const { in getNameLoc() function 413 return SourceRange(getNameLoc(), getNameLoc()); in getLocalSourceRange() 443 SourceLocation getNameLoc() const { return getBuiltinLoc(); } in getNameLoc() function 577 (D->getIdentifier() == 0 || D->getLocation() == getNameLoc()); in isDefinition() 846 SourceLocation getNameLoc() const { in getNameLoc() function 855 return SourceRange(getNameLoc()); in getLocalSourceRange() 1586 SourceLocation getNameLoc() const { in getNameLoc() function 1595 return SourceRange(getElaboratedKeywordLoc(), getNameLoc()); in getLocalSourceRange() 1597 return SourceRange(getQualifierLoc().getBeginLoc(), getNameLoc()); in getLocalSourceRange()
|
D | ExprCXX.h | 2314 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() function 3217 SourceLocation getMemberLoc() const { return getNameLoc(); } in getMemberLoc() 3496 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc() function
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 433 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc() 473 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentSizedExtVectorTypeLoc() 476 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitVectorTypeLoc() 479 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitExtVectorTypeLoc() 495 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitUnresolvedUsingTypeLoc() 498 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTypedefTypeLoc() 512 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDecltypeTypeLoc() 521 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitAutoTypeLoc() 524 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitRecordTypeLoc() 527 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitEnumTypeLoc() [all …]
|
D | ASTWriterStmt.cpp | 1460 Writer.AddSourceLocation(E->getNameLoc(), Record); in VisitSubstNonTypeTemplateParmExpr()
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 516 SourceLocation getNameLoc() const { in getNameLoc() function
|