/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 40 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/ |
D | TypeLoc.h | 493 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()
|
D | ExprCXX.h | 2590 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/ |
D | SemaExprMember.cpp | 251 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()
|
D | SemaTemplateInstantiate.cpp | 1342 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()
|
D | TreeTransform.h | 4185 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 …]
|
D | SemaCXXScopeSpec.cpp | 604 Diag(R.getNameLoc(), diag::err_expected_class_or_namespace) in BuildCXXNestedNameSpecifier() 636 SourceRange(Found.getNameLoc())); in BuildCXXNestedNameSpecifier()
|
D | SemaAccess.cpp | 1542 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()
|
D | SemaLookup.cpp | 612 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()
|
D | SemaTemplateVariadic.cpp | 55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
|
D | SemaTemplateDeduction.cpp | 3047 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()
|
D | SemaExpr.cpp | 1905 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 …]
|
D | SemaOverload.cpp | 10304 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()
|
D | SemaTemplate.cpp | 369 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()
|
D | SemaDecl.cpp | 6533 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/ |
D | ASTWriter.cpp | 517 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 …]
|
D | ASTWriterStmt.cpp | 1621 Record.AddSourceLocation(E->getNameLoc()); in VisitSubstNonTypeTemplateParmExpr()
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 589 SourceLocation getNameLoc() const { in getNameLoc() function
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1515 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()
|
D | CXIndexDataConsumer.cpp | 385 return DL.getNameLoc(); in getBaseLoc()
|
D | CXCursor.cpp | 889 void *RawLoc = E->getNameLoc().getPtrEncoding(); in MakeCursorOverloadedDeclRef()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1049 return expr.getNameLoc(); in GetLoc()
|