Home
last modified time | relevance | path

Searched refs:getConstSpecLoc (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h549 SourceLocation getConstSpecLoc() const { return TQ_constLoc; } in getConstSpecLoc() function
1447 return MethodQualifiers->getConstSpecLoc(); in getConstQualifierLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp778 for (QualLoc Qual : {QualLoc(DeclSpec::TQ_const, DS.getConstSpecLoc()), in diagnoseAndRemoveTypeQualifiers()
1866 S.Diag(DS.getConstSpecLoc(), diag::ext_duplicate_declspec) in ConvertDeclSpecToType()
3273 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
H A DSemaDeclCXX.cpp10480 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator()
10655 D.getDeclSpec().getConstSpecLoc(), in CheckDestructorDeclarator()
11004 Diagnoser.check(DS.getConstSpecLoc(), "const"); in CheckDeductionGuideDeclarator()
16872 Diag(DS.getConstSpecLoc(), diag::err_friend_decl_spec) << "const"; in ActOnFriendTypeDecl()
H A DSemaDecl.cpp5205 Diag(DS.getConstSpecLoc(), DiagID) << "const"; in ParsedFreeStandingDeclSpec()
5207 Diag(DS.getConstSpecLoc(), DiagID) << "volatile"; in ParsedFreeStandingDeclSpec()
5456 Diag(DS.getConstSpecLoc(), diag::ext_anonymous_struct_union_qualified) in BuildAnonymousStructOrUnion()
5458 << FixItHint::CreateRemoval(DS.getConstSpecLoc()); in BuildAnonymousStructOrUnion()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp5988 DS.getTypeQualifiers(), Loc, DS.getConstSpecLoc(), in ParseDeclaratorInternal()
6017 Diag(DS.getConstSpecLoc(), in ParseDeclaratorInternal()