/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | ForRangeCopyCheck.cpp | 91 LoopVar, Context, DeclSpec::TQ::TQ_const)) in handleConstValueCopy() 122 LoopVar, Context, DeclSpec::TQ::TQ_const)) in handleCopyIsOnlyConstReferenced()
|
D | UnnecessaryCopyInitialization.cpp | 27 Var, Context, DeclSpec::TQ::TQ_const)) in recordFixes()
|
D | UnnecessaryValueParamCheck.cpp | 168 CurrentParam, *Result.Context, DeclSpec::TQ::TQ_const)) in check()
|
/external/llvm-project/clang/lib/Sema/ |
D | DeclSpec.cpp | 425 if (TypeQualifiers & TQ_const) in forEachCVRUQualifier() 426 Handle(TQ_const, "const", TQ_constLoc); in forEachCVRUQualifier() 606 case DeclSpec::TQ_const: return "const"; in getSpecifierName() 974 case TQ_const: TQ_constLoc = Loc; return false; in SetTypeQual()
|
D | SemaType.cpp | 787 for (QualLoc Qual : {QualLoc(DeclSpec::TQ_const, DS.getConstSpecLoc()), in diagnoseAndRemoveTypeQualifiers() 1783 S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile, in ConvertDeclSpecToType() 1802 DeclSpec::TQ_const | DeclSpec::TQ_volatile | DeclSpec::TQ_atomic, in ConvertDeclSpecToType() 1811 if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) { in ConvertDeclSpecToType() 1900 ~(DeclSpec::TQ_const | DeclSpec::TQ_volatile | DeclSpec::TQ_atomic); in BuildQualifiedType() 3065 { "const", DeclSpec::TQ_const, ConstQualLoc }, in diagnoseIgnoredQualifiers() 4769 DeclType.Cls.TypeQuals |= DeclSpec::TQ_const; in GetFullTypeForDeclarator()
|
D | SemaLambda.cpp | 955 FTI.getOrCreateMethodQualifiers().SetTypeQual(DeclSpec::TQ_const, in ActOnStartOfLambdaDefinition()
|
D | SemaDeclCXX.cpp | 3306 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 3314 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 16336 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ActOnFriendTypeDecl()
|
D | SemaDecl.cpp | 4777 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParsedFreeStandingDeclSpec() 5025 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in BuildAnonymousStructOrUnion()
|
D | SemaCodeComplete.cpp | 5370 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_const)) in AddTypeQualifierResults()
|
/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 493 case DeclSpec::TQ_const: return "const"; in getSpecifierName() 796 case TQ_const: TQ_constLoc = Loc; return false; in SetTypeQual()
|
D | SemaLambda.cpp | 833 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition() 859 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
|
D | SemaType.cpp | 736 for (QualLoc Qual : {QualLoc(DeclSpec::TQ_const, DS.getConstSpecLoc()), in diagnoseAndRemoveTypeQualifiers() 1684 S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile, in ConvertDeclSpecToType() 1703 DeclSpec::TQ_const | DeclSpec::TQ_volatile | DeclSpec::TQ_atomic, in ConvertDeclSpecToType() 1712 if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) { in ConvertDeclSpecToType() 2669 { "const", DeclSpec::TQ_const, ConstQualLoc }, in diagnoseIgnoredQualifiers() 3832 DeclType.Cls.TypeQuals |= DeclSpec::TQ_const; in GetFullTypeForDeclarator()
|
D | SemaDeclCXX.cpp | 2105 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 2113 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
|
D | SemaDecl.cpp | 4053 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParsedFreeStandingDeclSpec() 4300 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in BuildAnonymousStructOrUnion()
|
D | SemaCodeComplete.cpp | 3821 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_const)) in CodeCompleteTypeQualifiers()
|
D | SemaExpr.cpp | 11975 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 683 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseAsmStatement()
|
D | ParseDecl.cpp | 2961 DS.getTypeQualifiers() == DeclSpec::TQ_const && in ParseDeclarationSpecifiers() 3433 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers() 4811 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const , Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt() 5113 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseDeclaratorInternal()
|
D | ParseDeclCXX.cpp | 2195 DeclSpecCheck(DeclSpec::TQ_const, "const", DS.getConstSpecLoc(), in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | AddConstTest.cpp | 30 *D, *Result.Context, DeclSpec::TQ::TQ_const, CT, CP); in check()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDecl.cpp | 3266 DS.getTypeQualifiers() == DeclSpec::TQ_const && in ParseDeclarationSpecifiers() 3933 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers() 5457 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const , Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt() 5772 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseDeclaratorInternal()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | DeclSpec.h | 305 TQ_const = 1, enumerator
|