Lines Matching refs:IdentLoc

11527                                    SourceLocation IdentLoc, IdentifierInfo *II,  in ActOnStartNamespaceDef()  argument
11533 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
11567 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef()
12063 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
12100 SourceLocation IdentLoc, in ActOnUsingDirective() argument
12105 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
12116 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
12127 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
12132 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
12141 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
12161 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
12164 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
12165 Diag(IdentLoc, diag::warn_using_directive_in_header); in ActOnUsingDirective()
12170 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnUsingDirective()
12285 SourceLocation IdentLoc = TyLoc.getBegin(); in ActOnUsingEnumDeclaration() local
12288 Diag(IdentLoc, SS && isDependentScopeSpecifier(*SS) in ActOnUsingEnumDeclaration()
12292 << SourceRange(SS ? SS->getBeginLoc() : IdentLoc, TyLoc.getEnd()); in ActOnUsingEnumDeclaration()
12297 Diag(IdentLoc, diag::err_using_enum_is_dependent); in ActOnUsingEnumDeclaration()
12303 Diag(IdentLoc, diag::err_using_enum_not_enum) << EnumTy; in ActOnUsingEnumDeclaration()
12311 TSI = Context.getTrivialTypeSourceInfo(EnumTy, IdentLoc); in ActOnUsingEnumDeclaration()
12314 BuildUsingEnumDeclaration(S, AS, UsingLoc, EnumLoc, IdentLoc, TSI, Enum); in ActOnUsingEnumDeclaration()
12715 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local
12716 assert(IdentLoc.isValid() && "Invalid TargetName location."); in BuildUsingDeclaration()
12760 SS, IdentLoc, Previous)) in BuildUsingDeclaration()
12776 SS, NameInfo, IdentLoc)) in BuildUsingDeclaration()
12784 IdentLoc, NameInfo.getName(), in BuildUsingDeclaration()
12833 IdentLoc, &R)) in BuildUsingDeclaration()
12903 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration()
12916 Diag(IdentLoc, diag::err_using_typename_non_type); in BuildUsingDeclaration()
12927 Diag(IdentLoc, diag::err_using_dependent_value_is_type); in BuildUsingDeclaration()
12936 Diag(IdentLoc, diag::err_using_decl_can_not_refer_to_namespace) in BuildUsingDeclaration()
13523 SourceLocation IdentLoc, in ActOnNamespaceAliasDef() argument
13527 LookupResult R(*this, Ident, IdentLoc, LookupNamespaceName); in ActOnNamespaceAliasDef()
13534 if (!TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, Ident)) { in ActOnNamespaceAliasDef()
13535 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnNamespaceAliasDef()
13584 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef()
13589 IdentLoc, ND); in ActOnNamespaceAliasDef()