Searched refs:SpecLoc (Results 1 – 3 of 3) sorted by relevance
2569 SourceLocation SpecLoc) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() argument2576 MQ.SetTypeQual(TypeQual, SpecLoc); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()2578 Diag(SpecLoc, diag::err_declspec_after_virtspec) in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()2581 << FixItHint::CreateRemoval(SpecLoc) << Insertion; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
11034 template<typename T> void check(SourceLocation SpecLoc, T Spec) { in check()11035 return check(SpecLoc, DeclSpec::getSpecifierName(Spec)); in check()11037 void check(SourceLocation SpecLoc, DeclSpec::TST Spec) { in check()11038 return check(SpecLoc, in check()11041 void check(SourceLocation SpecLoc, const char *Spec) { in check()11042 if (SpecLoc.isInvalid()) return; in check()11043 Diagnostic << SourceRange(SpecLoc, SpecLoc); in check()
6214 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration() local6215 while (SpecLoc.getPrefix()) in diagnoseQualifiedDeclaration()6216 SpecLoc = SpecLoc.getPrefix(); in diagnoseQualifiedDeclaration()6218 SpecLoc.getNestedNameSpecifier()->getAsType())) in diagnoseQualifiedDeclaration()6220 << SpecLoc.getTypeLoc().getSourceRange(); in diagnoseQualifiedDeclaration()