Home
last modified time | relevance | path

Searched refs:withConst (Results 1 – 25 of 25) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h161 QualType withConst() const { in withConst() function
162 return Stored.withConst(); in withConst()
H A DASTContext.h1239 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
H A DType.h840 QualType withConst() const {
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp3917 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
3962 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
4020 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
4039 .withConst(); in ActOnOpenMPRegionStart()
4042 .withConst(); in ActOnOpenMPRegionStart()
4045 .withConst(); in ActOnOpenMPRegionStart()
4060 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
4082 .withConst(); in ActOnOpenMPRegionStart()
4085 .withConst(); in ActOnOpenMPRegionStart()
4088 .withConst(); in ActOnOpenMPRegionStart()
[all …]
H A DSemaExprObjC.cpp572 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
693 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr()
698 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
852 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
1023 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
1060 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
H A DSemaStmt.cpp118 var->setType(type.withConst()); in ActOnForEachDeclStmt()
3098 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies()
3249 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt()
4682 .withConst() in ActOnCapturedRegionStart()
H A DSemaExpr.cpp3313 type = type.getUnqualifiedType().withConst(); in BuildDeclarationNameExpr()
3498 Context.adjustStringLiteralBaseType(Context.WideCharTy.withConst()); in BuildPredefinedExpr()
3508 ResTy = Context.adjustStringLiteralBaseType(Context.CharTy.withConst()); in BuildPredefinedExpr()
3773 Context.adjustStringLiteralBaseType(Context.CharTy.withConst()), in ActOnNumericConstant()
15679 Result.get()->getType().withConst(), in ActOnBlockStmtExpr()
17564 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
H A DSemaDeclCXX.cpp8396 Context.getLValueReferenceType(ExpectedParmType1.withConst()); in CheckExplicitlyDefaultedComparison()
9604 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial()
14139 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment()
14846 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
H A DSemaChecking.cpp2255 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
3247 Type = Type.withConst(); in DecodePPCMMATypeFromStr()
6137 QualType ResultTy = Context.getPointerType(Context.CharTy.withConst()); in CheckOSLogFormatStringArg()
6316 Context.getPointerType(Context.CharTy.withConst()); in SemaBuiltinVAStartARMMicrosoft()
H A DSemaExprCXX.cpp556 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId()
632 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId()
H A DSemaInit.cpp3892 E.withConst(), in TryInitializerListConstruction()
8935 E.withConst(), in diagnoseListInit()
H A DSemaDeclAttr.cpp7602 VD->setType(Ty.withConst()); in tryMakeVariablePseudoStrong()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp631 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
640 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
H A DDeclObjC.cpp1125 selfTy = selfTy.withConst(); in getSelfType()
1132 selfTy = selfTy.withConst(); in getSelfType()
H A DASTContext.cpp6578 Fields[Count++] = { getPointerType(IntTy.withConst()), "isa" }; in getCFConstantStringDecl()
6580 Fields[Count++] = { getPointerType(CharTy.withConst()), "str" }; in getCFConstantStringDecl()
6586 Fields[Count++] = { getPointerType(CharTy.withConst()), "_ptr" }; in getCFConstantStringDecl()
10612 Type = Type.withConst(); in DecodeTypeFromStr()
11297 EltTy = EltTy.withConst(); in getStringLiteralArrayType()
11329 QualType GUIDType = getMSGuidType().withConst(); in getMSGuidDecl()
H A DExpr.cpp528 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in Create()
535 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in CreateEmpty()
H A DMicrosoftMangle.cpp2084 T = T.withConst(); in mangleFunctionArgumentType()
H A DExprConstant.cpp7240 Info, BCE, BCE->getSubExpr()->getType().withConst(), SourceLValue, in handleLValueToRValueBitCast()
8680 QualType CharTy = Info.Ctx.CharTy.withConst(); in VisitSYCLUniqueStableNameExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp525 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()
H A DRewriteObjC.cpp2232 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-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1023 return Ty ? Optional<QualType>(Ty->withConst()) : None; in initFunctionSummaries()
1025 QualType operator()(QualType Ty) { return Ty.withConst(); } in initFunctionSummaries()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp3735 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
3744 .withConst() in emitTaskPrivateMappingFunction()
3755 .withConst() in emitTaskPrivateMappingFunction()
3766 .withConst() in emitTaskPrivateMappingFunction()
3781 C.getPointerType(C.getPointerType(Ty)).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
H A DCGObjCMac.cpp356 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn()
3069 ctx.getPointerType(ctx.CharTy.withConst()))); in EmitClassRefViaRuntime()
H A DCGObjC.cpp147 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
H A DItaniumCXXABI.cpp4222 FundamentalType.withConst()); in EmitFundamentalRTTIDescriptors()