Home | History | Annotate | Download | only in Sema

Lines Matching refs:IdentLoc

5417                                    SourceLocation IdentLoc,
5423 SourceLocation Loc = II ? IdentLoc : LBrace;
5786 SourceLocation IdentLoc,
5796 S.Diag(IdentLoc, diag::err_using_directive_member_suggest)
5798 << FixItHint::CreateReplacement(IdentLoc, CorrectedStr);
5800 S.Diag(IdentLoc, diag::err_using_directive_suggest)
5802 << FixItHint::CreateReplacement(IdentLoc, CorrectedStr);
5817 SourceLocation IdentLoc,
5822 assert(IdentLoc.isValid() && "Invalid NamespceName location.");
5835 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName);
5846 Diag(IdentLoc, diag::ext_using_undefined_std);
5851 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName);
5877 IdentLoc, Named, CommonAncestor);
5880 !SourceMgr.isFromMainFile(SourceMgr.getExpansionLoc(IdentLoc))) {
5881 Diag(IdentLoc, diag::warn_using_directive_in_header);
5886 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange();
6222 SourceLocation IdentLoc = NameInfo.getLoc();
6223 assert(IdentLoc.isValid() && "Invalid TargetName location.");
6228 Diag(IdentLoc, diag::err_using_requires_qualname);
6254 if (CheckUsingDeclRedeclaration(UsingLoc, IsTypeName, SS, IdentLoc, Previous))
6258 if (CheckUsingDeclQualifier(UsingLoc, SS, IdentLoc))
6270 IdentLoc, NameInfo.getName());
6318 Diag(IdentLoc, diag::err_no_member)
6332 Diag(IdentLoc, diag::err_using_typename_non_type);
6344 Diag(IdentLoc, diag::err_using_dependent_value_is_type);
6354 Diag(IdentLoc, diag::err_using_decl_can_not_refer_to_namespace)
6743 SourceLocation IdentLoc,
6747 LookupResult R(*this, Ident, IdentLoc, LookupNamespaceName);
6779 if (!TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, Ident)) {
6780 Diag(IdentLoc, diag::err_expected_namespace_name) << SS.getRange();
6788 IdentLoc, R.getFoundDecl());