| /freebsd-14.2/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 | 268 Qualifiers withConst() const { 656 QualifiersAndAtomic withConst() { return {Quals.withConst(), HasAtomic}; } 951 QualType withConst() const {
|
| H A D | ASTContext.h | 1289 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 4242 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart() 4289 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart() 4355 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart() 4375 .withConst(); in ActOnOpenMPRegionStart() 4378 .withConst(); in ActOnOpenMPRegionStart() 4381 .withConst(); in ActOnOpenMPRegionStart() 4396 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart() 4419 .withConst(); in ActOnOpenMPRegionStart() 4422 .withConst(); in ActOnOpenMPRegionStart() 4425 .withConst(); in ActOnOpenMPRegionStart() [all …]
|
| H A D | SemaExprObjC.cpp | 573 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 694 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr() 699 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 853 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral() 1024 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral() 1058 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
|
| H A D | SemaStmt.cpp | 119 var->setType(type.withConst()); in ActOnForEachDeclStmt() 3155 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies() 3306 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt() 4813 .withConst() in ActOnCapturedRegionStart()
|
| H A D | SemaExpr.cpp | 3575 type = type.getUnqualifiedType().withConst(); in BuildDeclarationNameExpr() 3750 Context.adjustStringLiteralBaseType(Context.WideCharTy.withConst()); in BuildPredefinedExpr() 3760 ResTy = Context.adjustStringLiteralBaseType(Context.CharTy.withConst()); in BuildPredefinedExpr() 4016 Context.adjustStringLiteralBaseType(Context.CharTy.withConst()), in ActOnNumericConstant() 17228 Result.get()->getType().withConst(), in ActOnBlockStmtExpr() 17508 S.Context.getPointerType(S.Context.CharTy.withConst())) in LookupStdSourceLocationImpl() 17513 S.Context.getPointerType(S.Context.CharTy.withConst())) in LookupStdSourceLocationImpl() 17563 Context.getRecordType(StdSourceLocationImplDecl).withConst()); in ActOnSourceLocExpr() 19442 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
|
| H A D | SemaInit.cpp | 4058 E.withConst(), in TryInitializerListConstruction() 9523 E.withConst(), in diagnoseListInit() 10765 Context.getLValueReferenceType(ElementTypes[I].withConst()); in DeduceTemplateSpecializationFromInitializer()
|
| H A D | SemaExprCXX.cpp | 568 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId() 644 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId()
|
| H A D | SemaDeclCXX.cpp | 8929 Context.getLValueReferenceType(PlainTy.withConst()); in CheckExplicitlyDefaultedComparison() 10178 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial() 14892 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment() 15632 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
|
| H A D | SemaChecking.cpp | 3355 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall() 4857 Type = Type.withConst(); in DecodePPCMMATypeFromStr() 8932 QualType ResultTy = Context.getPointerType(Context.CharTy.withConst()); in CheckOSLogFormatStringArg() 9135 Context.getPointerType(Context.CharTy.withConst()); in SemaBuiltinVAStartARMMicrosoft()
|
| H A D | SemaDeclAttr.cpp | 8728 VD->setType(Ty.withConst()); in tryMakeVariablePseudoStrong()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | PrintfFormatString.cpp | 634 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() 643 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 | 7318 Fields[Count++] = { getPointerType(IntTy.withConst()), "isa" }; in getCFConstantStringDecl() 7320 Fields[Count++] = { getPointerType(CharTy.withConst()), "str" }; in getCFConstantStringDecl() 7326 Fields[Count++] = { getPointerType(CharTy.withConst()), "_ptr" }; in getCFConstantStringDecl() 11511 Type = Type.withConst(); in DecodeTypeFromStr() 12237 EltTy = EltTy.withConst(); in getStringLiteralArrayType() 12269 QualType GUIDType = getMSGuidType().withConst(); in getMSGuidDecl()
|
| H A D | Expr.cpp | 571 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in Create() 578 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in CreateEmpty()
|
| H A D | MicrosoftMangle.cpp | 2235 T = T.withConst(); in mangleFunctionArgumentType()
|
| H A D | ExprConstant.cpp | 7585 Info, BCE, BCE->getSubExpr()->getType().withConst(), SourceLValue, in handleLValueToRValueBitCast() 9087 QualType CharTy = Info.Ctx.CharTy.withConst(); in VisitSYCLUniqueStableNameExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 526 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType() 2319 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2519 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2549 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2749 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr() 2878 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
|
| H A D | RewriteObjC.cpp | 2232 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2445 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2475 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 3149 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction() 3158 .withConst() in emitTaskPrivateMappingFunction() 3169 .withConst() in emitTaskPrivateMappingFunction() 3180 .withConst() in emitTaskPrivateMappingFunction() 3195 C.getPointerType(C.getPointerType(Ty)).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
|
| H A D | CGObjCMac.cpp | 357 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn() 3000 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 | 4289 FundamentalType.withConst()); in EmitFundamentalRTTIDescriptors()
|