Lines Matching refs:IdentLoc
7334 SourceLocation IdentLoc, in ActOnStartNamespaceDef() argument
7341 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
7361 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, ForRedeclaration); in ActOnStartNamespaceDef()
7677 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
7707 SourceLocation IdentLoc, in ActOnUsingDirective() argument
7712 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
7725 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
7736 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
7741 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
7750 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
7770 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
7773 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
7774 Diag(IdentLoc, diag::warn_using_directive_in_header); in ActOnUsingDirective()
7779 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnUsingDirective()
8241 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local
8242 assert(IdentLoc.isValid() && "Invalid TargetName location."); in BuildUsingDeclaration()
8247 Diag(IdentLoc, diag::err_using_requires_qualname); in BuildUsingDeclaration()
8290 SS, IdentLoc, Previous)) in BuildUsingDeclaration()
8294 if (CheckUsingDeclQualifier(UsingLoc, SS, NameInfo, IdentLoc)) in BuildUsingDeclaration()
8306 IdentLoc, NameInfo.getName()); in BuildUsingDeclaration()
8401 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration()
8413 Diag(IdentLoc, diag::err_using_typename_non_type); in BuildUsingDeclaration()
8424 Diag(IdentLoc, diag::err_using_dependent_value_is_type); in BuildUsingDeclaration()
8433 Diag(IdentLoc, diag::err_using_decl_can_not_refer_to_namespace) in BuildUsingDeclaration()
8442 Diag(IdentLoc, diag::err_using_decl_can_not_refer_to_scoped_enum) in BuildUsingDeclaration()
8898 SourceLocation IdentLoc, in ActOnNamespaceAliasDef() argument
8902 LookupResult R(*this, Ident, IdentLoc, LookupNamespaceName); in ActOnNamespaceAliasDef()
8909 if (!TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, Ident)) { in ActOnNamespaceAliasDef()
8910 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnNamespaceAliasDef()
8959 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef()
8964 IdentLoc, ND); in ActOnNamespaceAliasDef()