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