Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h548 SourceLocation getConstSpecLoc() const { return TQ_constLoc; } in getConstSpecLoc() function
1443 return MethodQualifiers->getConstSpecLoc(); in getConstQualifierLoc()
/external/clang/lib/Parse/
DParseDecl.cpp5081 DS.getConstSpecLoc(), in ParseDeclaratorInternal()
5114 Diag(DS.getConstSpecLoc(), in ParseDeclaratorInternal()
5645 ConstQualifierLoc = DS.getConstSpecLoc(); in ParseFunctionDeclarator()
DParseDeclCXX.cpp2195 DeclSpecCheck(DeclSpec::TQ_const, "const", DS.getConstSpecLoc(), in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
/external/clang/lib/Sema/
DSemaType.cpp736 for (QualLoc Qual : {QualLoc(DeclSpec::TQ_const, DS.getConstSpecLoc()), in diagnoseAndRemoveTypeQualifiers()
1713 S.Diag(DS.getConstSpecLoc(), diag::ext_duplicate_declspec) in ConvertDeclSpecToType()
2768 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
DSemaDecl.cpp4054 Diag(DS.getConstSpecLoc(), DiagID) << "const"; in ParsedFreeStandingDeclSpec()
4056 Diag(DS.getConstSpecLoc(), DiagID) << "volatile"; in ParsedFreeStandingDeclSpec()
4301 Diag(DS.getConstSpecLoc(), diag::ext_anonymous_struct_union_qualified) in BuildAnonymousStructOrUnion()
4303 << FixItHint::CreateRemoval(DS.getConstSpecLoc()); in BuildAnonymousStructOrUnion()
DSemaDeclCXX.cpp6834 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator()
7003 D.getDeclSpec().getConstSpecLoc(), in CheckDestructorDeclarator()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp787 for (QualLoc Qual : {QualLoc(DeclSpec::TQ_const, DS.getConstSpecLoc()), in diagnoseAndRemoveTypeQualifiers()
1812 S.Diag(DS.getConstSpecLoc(), diag::ext_duplicate_declspec) in ConvertDeclSpecToType()
3164 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
DSemaDeclCXX.cpp10201 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator()
10376 D.getDeclSpec().getConstSpecLoc(), in CheckDestructorDeclarator()
10725 Diagnoser.check(DS.getConstSpecLoc(), "const"); in CheckDeductionGuideDeclarator()
16337 Diag(DS.getConstSpecLoc(), diag::err_friend_decl_spec) << "const"; in ActOnFriendTypeDecl()
DSemaDecl.cpp4778 Diag(DS.getConstSpecLoc(), DiagID) << "const"; in ParsedFreeStandingDeclSpec()
4780 Diag(DS.getConstSpecLoc(), DiagID) << "volatile"; in ParsedFreeStandingDeclSpec()
5026 Diag(DS.getConstSpecLoc(), diag::ext_anonymous_struct_union_qualified) in BuildAnonymousStructOrUnion()
5028 << FixItHint::CreateRemoval(DS.getConstSpecLoc()); in BuildAnonymousStructOrUnion()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp5744 DS.getTypeQualifiers(), Loc, DS.getConstSpecLoc(), in ParseDeclaratorInternal()
5773 Diag(DS.getConstSpecLoc(), in ParseDeclaratorInternal()