Lines Matching refs:TypenameLoc
6944 Sema::ActOnTypenameType(Scope *S, SourceLocation TypenameLoc,
6950 if (TypenameLoc.isValid() && S && !S->getTemplateParamParent())
6951 Diag(TypenameLoc,
6955 << FixItHint::CreateRemoval(TypenameLoc);
6958 QualType T = CheckTypenameType(TypenameLoc.isValid()? ETK_Typename : ETK_None,
6959 TypenameLoc, QualifierLoc, II, IdLoc);
6966 TL.setElaboratedKeywordLoc(TypenameLoc);
6971 TL.setElaboratedKeywordLoc(TypenameLoc);
6981 SourceLocation TypenameLoc,
6989 if (TypenameLoc.isValid() && S && !S->getTemplateParamParent())
6990 Diag(TypenameLoc,
6994 << FixItHint::CreateRemoval(TypenameLoc);
7015 SpecTL.setElaboratedKeywordLoc(TypenameLoc);
7043 TL.setElaboratedKeywordLoc(TypenameLoc);