/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CanonicalType.h | 161 QualType withConst() const { in withConst() function 162 return Stored.withConst(); in withConst()
|
H A D | Type.h | 448 Qualifiers withConst() const { 860 QualifiersAndAtomic withConst() { return {Quals.withConst(), HasAtomic}; } 1166 QualType withConst() const {
|
H A D | ASTContext.h | 1342 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaPPC.cpp | 316 Type = Type.withConst(); in DecodePPCMMATypeFromStr()
|
H A D | SemaExprObjC.cpp | 582 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 700 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr() 705 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 861 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral() 1031 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral() 1065 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
|
H A D | SemaStmt.cpp | 124 var->setType(type.withConst()); in ActOnForEachDeclStmt() 2993 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies() 3146 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt() 4516 .withConst() in ActOnCapturedRegionStart()
|
H A D | SemaARM.cpp | 790 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
|
H A D | SemaOpenMP.cpp | 4242 Context.getIntTypeForBitwidth(/*DestWidth=*/32, /*Signed=*/1).withConst(); in getParallelRegionParams() 4244 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in getParallelRegionParams() 4250 QualType KmpSizeTy = Context.getSizeType().withConst(); in getParallelRegionParams() 4268 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst(); in getTaskRegionParams() 4269 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in getTaskRegionParams() 4271 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in getTaskRegionParams() 4282 Context.getPointerType(CopyFnType).withConst().withRestrict()), in getTaskRegionParams() 4283 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in getTaskRegionParams() 4294 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in getTargetRegionParams() 4314 Context.getIntTypeForBitwidth(/*DestWidth=*/32, /*Signed=*/1).withConst(); in getTaskloopRegionParams() [all …]
|
H A D | SemaInit.cpp | 4195 E.withConst(), in TryInitializerListConstruction() 8295 ElementType.withConst())) in Perform() 8304 ElementType.withConst())) in Perform() 8541 E.withConst(), in diagnoseListInit() 9885 Context.getLValueReferenceType(ElementTypes[I].withConst()); in DeduceTemplateSpecializationFromInitializer()
|
H A D | SemaExpr.cpp | 3313 type = type.getUnqualifiedType().withConst(); in BuildDeclarationNameExpr() 3491 Context.adjustStringLiteralBaseType(Context.WideCharTy.withConst()); in BuildPredefinedExpr() 3501 ResTy = Context.adjustStringLiteralBaseType(Context.CharTy.withConst()); in BuildPredefinedExpr() 3742 Context.adjustStringLiteralBaseType(Context.CharTy.withConst()), in ActOnNumericConstant() 16217 Result.get()->getType().withConst(), in ActOnBlockStmtExpr() 16498 S.Context.getPointerType(S.Context.CharTy.withConst())) in LookupStdSourceLocationImpl() 16503 S.Context.getPointerType(S.Context.CharTy.withConst())) in LookupStdSourceLocationImpl() 16553 Context.getRecordType(StdSourceLocationImplDecl).withConst()); in ActOnSourceLocExpr() 18428 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
|
H A D | SemaObjC.cpp | 2217 VD->setType(Ty.withConst()); in tryMakeVariablePseudoStrong()
|
H A D | SemaExprCXX.cpp | 566 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId() 641 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId() 5144 Decl->getTypeForDecl()->getCanonicalTypeUnqualified().withConst(), in HasNonDeletedDefaultedEqualityComparison()
|
H A D | SemaDeclCXX.cpp | 8827 Context.getLValueReferenceType(PlainTy.withConst()); in CheckExplicitlyDefaultedComparison() 10087 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial() 14765 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment() 15509 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | PrintfFormatString.cpp | 653 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() 662 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
|
H A D | DeclObjC.cpp | 1176 selfTy = selfTy.withConst(); in getSelfType() 1183 selfTy = selfTy.withConst(); in getSelfType()
|
H A D | ASTContext.cpp | 7774 Fields[Count++] = { getPointerType(IntTy.withConst()), "isa" }; in getCFConstantStringDecl() 7776 Fields[Count++] = { getPointerType(CharTy.withConst()), "str" }; in getCFConstantStringDecl() 7782 Fields[Count++] = { getPointerType(CharTy.withConst()), "_ptr" }; in getCFConstantStringDecl() 11994 Type = Type.withConst(); in DecodeTypeFromStr() 12729 EltTy = EltTy.withConst(); in getStringLiteralArrayType() 12761 QualType GUIDType = getMSGuidType().withConst(); in getMSGuidDecl()
|
H A D | Expr.cpp | 581 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in Create() 588 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in CreateEmpty()
|
H A D | MicrosoftMangle.cpp | 2338 T = T.withConst(); in mangleFunctionArgumentType()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 525 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType() 2318 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2518 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2548 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2748 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr() 2877 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 1633 return Ty ? std::optional<QualType>(Ty->withConst()) : std::nullopt; in initFunctionSummaries() 1635 QualType operator()(QualType Ty) { return Ty.withConst(); } in initFunctionSummaries()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 3164 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction() 3173 .withConst() in emitTaskPrivateMappingFunction() 3184 .withConst() in emitTaskPrivateMappingFunction() 3195 .withConst() in emitTaskPrivateMappingFunction() 3210 C.getPointerType(C.getPointerType(Ty)).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
|
H A D | CGObjCMac.cpp | 357 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn() 3007 ctx.getPointerType(ctx.CharTy.withConst()))); in EmitClassRefViaRuntime()
|
H A D | CGObjC.cpp | 150 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
|
H A D | ItaniumCXXABI.cpp | 4564 FundamentalType.withConst()); in EmitFundamentalRTTIDescriptors()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 1965 QualType CharTy = A.CharTy.withConst(); in VisitSYCLUniqueStableNameExpr()
|