Home
last modified time | relevance | path

Searched refs:SpecLoc (Results 1 – 3 of 3) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp2569 SourceLocation SpecLoc) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() argument
2576 MQ.SetTypeQual(TypeQual, SpecLoc); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2578 Diag(SpecLoc, diag::err_declspec_after_virtspec) in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2581 << FixItHint::CreateRemoval(SpecLoc) << Insertion; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp11034 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()
H A DSemaDecl.cpp6214 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data()); in diagnoseQualifiedDeclaration() local
6215 while (SpecLoc.getPrefix()) in diagnoseQualifiedDeclaration()
6216 SpecLoc = SpecLoc.getPrefix(); in diagnoseQualifiedDeclaration()
6218 SpecLoc.getNestedNameSpecifier()->getAsType())) in diagnoseQualifiedDeclaration()
6220 << SpecLoc.getTypeLoc().getSourceRange(); in diagnoseQualifiedDeclaration()