Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp2492 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
2509 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart()
2523 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
2567 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
2618 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
2634 .withConst(); in ActOnOpenMPRegionStart()
2637 .withConst(); in ActOnOpenMPRegionStart()
2640 .withConst(); in ActOnOpenMPRegionStart()
2655 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
2706 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
[all …]
H A DSemaExprObjC.cpp545 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
671 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr()
676 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
830 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
947 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
984 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
H A DSemaStmt.cpp118 var->setType(type.withConst()); in ActOnForEachDeclStmt()
2736 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies()
2863 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt()
4305 .withConst() in ActOnCapturedRegionStart()
H A DSemaExprCXX.cpp457 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId()
525 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId()
635 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand, UuidStr, in BuildCXXUuidof()
659 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E, UuidStr, in BuildCXXUuidof()
H A DSemaExpr.cpp3103 Context.adjustStringLiteralBaseType(Context.WideCharTy.withConst()); in BuildPredefinedExpr()
3112 ResTy = Context.adjustStringLiteralBaseType(Context.CharTy.withConst()); in BuildPredefinedExpr()
3352 Context.adjustStringLiteralBaseType(Context.CharTy.withConst()), in ActOnNumericConstant()
15031 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
15053 S.Context, Var, Nested, DeclRefType.withConst(), VK_LValue, Loc); in captureInBlock()
H A DSemaInit.cpp3665 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction()
8206 E.withConst(), in diagnoseListInit()
H A DSemaChecking.cpp1598 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
5299 QualType ResultTy = Context.getPointerType(Context.CharTy.withConst()); in CheckOSLogFormatStringArg()
5490 Context.getPointerType(Context.CharTy.withConst()); in SemaBuiltinVAStartARMMicrosoft()
H A DSemaDeclCXX.cpp7614 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial()
11815 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment()
12510 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
H A DSemaDeclAttr.cpp6258 VD->setType(Ty.withConst()); in tryMakeVariablePseudoStrong()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCanonicalType.h162 QualType withConst() const { in withConst() function
163 return Stored.withConst(); in withConst()
H A DASTContext.h1188 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
H A DType.h810 QualType withConst() const {
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DPrintfFormatString.cpp593 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
602 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
H A DDeclObjC.cpp1109 selfTy = selfTy.withConst(); in getSelfType()
1116 selfTy = selfTy.withConst(); in getSelfType()
H A DASTContext.cpp5869 Fields[Count++] = { getPointerType(IntTy.withConst()), "isa" }; in getCFConstantStringDecl()
5871 Fields[Count++] = { getPointerType(CharTy.withConst()), "str" }; in getCFConstantStringDecl()
5877 Fields[Count++] = { getPointerType(CharTy.withConst()), "_ptr" }; in getCFConstantStringDecl()
9499 Type = Type.withConst(); in DecodeTypeFromStr()
H A DMicrosoftMangle.cpp1736 T = T.withConst(); in mangleArgumentType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp526 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType()
2314 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2514 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2544 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2743 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr()
2872 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
H A DRewriteObjC.cpp2223 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2436 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2466 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp4541 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
4550 .withConst() in emitTaskPrivateMappingFunction()
4561 .withConst() in emitTaskPrivateMappingFunction()
4572 .withConst() in emitTaskPrivateMappingFunction()
H A DCGObjCMac.cpp357 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn()
2966 ctx.getPointerType(ctx.CharTy.withConst()))); in EmitClassRefViaRuntime()
H A DCGObjC.cpp140 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
H A DItaniumCXXABI.cpp3742 FundamentalType.withConst()); in EmitFundamentalRTTIDescriptors()