Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DCanonicalType.h147 QualType withConst() const { in withConst() function
148 return Stored.withConst(); in withConst()
DASTContext.h1031 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
DType.h764 QualType withConst() const {
/external/clang/lib/Analysis/
DPrintfFormatString.cpp521 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
530 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
/external/clang/lib/Sema/
DSemaExprObjC.cpp546 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
666 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr()
671 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
825 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
942 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
979 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
DSemaOpenMP.cpp1593 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
1629 QualType Args[] = {Context.VoidPtrTy.withConst().withRestrict()}; in ActOnOpenMPRegionStart()
1636 std::make_pair(".privates.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
1638 Context.getPointerType(CopyFnType).withConst()), in ActOnOpenMPRegionStart()
1639 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
1659 QualType Args[] = {Context.VoidPtrTy.withConst().withRestrict()}; in ActOnOpenMPRegionStart()
1667 Context.VoidPtrTy.withConst().withRestrict()), in ActOnOpenMPRegionStart()
1670 Context.getPointerType(CopyFnType).withConst().withRestrict()), in ActOnOpenMPRegionStart()
1671 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart()
1691 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
DSemaStmt.cpp117 var->setType(type.withConst()); in ActOnForEachDeclStmt()
2503 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies()
2630 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt()
DSemaExprCXX.cpp392 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId()
460 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId()
564 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand, UuidStr, in BuildCXXUuidof()
588 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E, UuidStr, in BuildCXXUuidof()
DSemaExpr.cpp3086 ResTy = Context.WideCharTy.withConst(); in BuildPredefinedExpr()
3095 ResTy = Context.CharTy.withConst(); in BuildPredefinedExpr()
3328 Context.CharTy.withConst(), llvm::APInt(32, Length + 1), in ActOnNumericConstant()
13325 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
13346 DeclRefType.withConst(), in captureInBlock()
DSemaInit.cpp3423 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction()
7015 E.withConst(), in diagnoseListInit()
DSemaDeclCXX.cpp6322 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial()
10163 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment()
10989 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
DSemaChecking.cpp1225 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
3278 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
/external/clang/lib/AST/
DDeclObjC.cpp1036 selfTy = selfTy.withConst(); in getSelfType()
1043 selfTy = selfTy.withConst(); in getSelfType()
DMicrosoftMangle.cpp1501 T = T.withConst(); in mangleArgumentType()
DASTContext.cpp4898 FieldTypes[0] = getPointerType(IntTy.withConst()); in getCFConstantStringDecl()
4904 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringDecl()
8326 Type = Type.withConst(); in DecodeTypeFromStr()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp525 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType()
2312 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2512 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2542 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2744 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr()
2875 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
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()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp3425 C.getPointerType(PrivatesQTy).withConst().withRestrict()); in emitTaskPrivateMappingFunction()
3433 .withConst() in emitTaskPrivateMappingFunction()
3443 .withConst() in emitTaskPrivateMappingFunction()
3453 .withConst() in emitTaskPrivateMappingFunction()
DCodeGenModule.cpp3275 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString()
3277 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
DCGObjC.cpp126 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
DCGObjCMac.cpp356 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn()
2699 ctx.getPointerType(ctx.CharTy.withConst()))); in EmitClassRefViaRuntime()
DItaniumCXXABI.cpp3353 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()