Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DCanonicalType.h147 QualType withConst() const { in withConst() function
148 return Stored.withConst(); in withConst()
DASTContext.h1021 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
DType.h741 QualType withConst() const {
/external/clang/lib/Analysis/
DPrintfFormatString.cpp516 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
525 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
/external/clang/lib/Sema/
DSemaExprObjC.cpp548 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
667 Context.VoidPtrTy.withConst(), in BuildObjCBoxedExpr()
672 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
826 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
944 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
981 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
DSemaOpenMP.cpp1371 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
1448 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
1461 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
1474 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
1486 QualType Args[] = {Context.VoidPtrTy.withConst().withRestrict()}; in ActOnOpenMPRegionStart()
1494 Context.VoidPtrTy.withConst().withRestrict()), in ActOnOpenMPRegionStart()
1497 Context.getPointerType(CopyFnType).withConst().withRestrict()), in ActOnOpenMPRegionStart()
1537 Context.getPointerType(KmpInt32Ty).withConst().withRestrict(); in ActOnOpenMPRegionStart()
DSemaStmt.cpp116 var->setType(type.withConst()); in ActOnForEachDeclStmt()
2472 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies()
2599 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()
527 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand, in BuildCXXUuidof()
547 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E, in BuildCXXUuidof()
DSemaExpr.cpp3021 ResTy = Context.WideCharTy.withConst(); in BuildPredefinedExpr()
3030 ResTy = Context.CharTy.withConst(); in BuildPredefinedExpr()
3261 Context.CharTy.withConst(), llvm::APInt(32, Length + 1), in ActOnNumericConstant()
12775 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
12796 DeclRefType.withConst(), in captureInBlock()
DSemaInit.cpp3338 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction()
6850 E.withConst(), in diagnoseListInit()
DSemaDeclCXX.cpp6167 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial()
10037 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment()
10861 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
DSemaChecking.cpp725 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
2546 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
/external/clang/lib/AST/
DDeclObjC.cpp1004 selfTy = selfTy.withConst(); in getSelfType()
1011 selfTy = selfTy.withConst(); in getSelfType()
DMicrosoftMangle.cpp1449 T = T.withConst(); in mangleArgumentType()
DASTContext.cpp4839 FieldTypes[0] = getPointerType(IntTy.withConst()); in getCFConstantStringType()
4843 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringType()
8184 Type = Type.withConst(); in DecodeTypeFromStr()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp531 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType()
2339 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2539 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2569 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2771 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr()
2903 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
DRewriteObjC.cpp2227 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2441 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2471 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp2215 C.getPointerType(PrivatesQTy).withConst().withRestrict()); in emitTaskPrivateMappingFunction()
2223 .withConst() in emitTaskPrivateMappingFunction()
2233 .withConst() in emitTaskPrivateMappingFunction()
DCodeGenModule.cpp3002 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString()
3004 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
DCGObjC.cpp126 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
DItaniumCXXABI.cpp3317 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()