Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp32 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()
DCIndex.cpp1380 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()
DCXCursor.cpp711 void *RawLoc = reinterpret_cast<void *>(E->getNameLoc().getRawEncoding()); in MakeCursorOverloadedDeclRef()
DIndexingContext.cpp175 return DL->getNameLoc(); in getBaseLoc()
/external/clang/lib/Sema/
DSemaExprMember.cpp239 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 …]
DSemaCXXScopeSpec.cpp522 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()
DSemaTemplateInstantiate.cpp1285 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()
DTreeTransform.h3496 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 …]
DSemaAccess.cpp1495 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()
DSemaExpr.cpp1405 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 …]
DSemaLookup.cpp510 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()
DSemaTemplateVariadic.cpp51 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
DSemaTemplateDeduction.cpp2764 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()
DSemaTemplate.cpp334 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()
DSemaOverload.cpp8836 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()
DSemaDeclCXX.cpp1901 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()
DSemaDecl.cpp4216 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/
DTypeLoc.h406 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()
DExprCXX.h2314 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/
DASTWriter.cpp433 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 …]
DASTWriterStmt.cpp1460 Writer.AddSourceLocation(E->getNameLoc(), Record); in VisitSubstNonTypeTemplateParmExpr()
/external/clang/include/clang/Sema/
DLookup.h516 SourceLocation getNameLoc() const { in getNameLoc() function