Lines Matching refs:IdentLoc

6492                                    SourceLocation IdentLoc,  in ActOnStartNamespaceDef()  argument
6498 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
6844 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
6874 SourceLocation IdentLoc, in ActOnUsingDirective() argument
6879 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
6892 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
6903 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
6908 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
6934 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
6937 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
6938 Diag(IdentLoc, diag::warn_using_directive_in_header); in ActOnUsingDirective()
6943 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnUsingDirective()
7319 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local
7320 assert(IdentLoc.isValid() && "Invalid TargetName location."); in BuildUsingDeclaration()
7325 Diag(IdentLoc, diag::err_using_requires_qualname); in BuildUsingDeclaration()
7352 SS, IdentLoc, Previous)) in BuildUsingDeclaration()
7356 if (CheckUsingDeclQualifier(UsingLoc, SS, IdentLoc)) in BuildUsingDeclaration()
7368 IdentLoc, NameInfo.getName()); in BuildUsingDeclaration()
7431 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration()
7446 Diag(IdentLoc, diag::err_using_typename_non_type); in BuildUsingDeclaration()
7458 Diag(IdentLoc, diag::err_using_dependent_value_is_type); in BuildUsingDeclaration()
7468 Diag(IdentLoc, diag::err_using_decl_can_not_refer_to_namespace) in BuildUsingDeclaration()
7862 SourceLocation IdentLoc, in ActOnNamespaceAliasDef() argument
7866 LookupResult R(*this, Ident, IdentLoc, LookupNamespaceName); in ActOnNamespaceAliasDef()
7898 if (!TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, Ident)) { in ActOnNamespaceAliasDef()
7899 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange(); in ActOnNamespaceAliasDef()
7907 IdentLoc, R.getFoundDecl()); in ActOnNamespaceAliasDef()