Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DCanonicalType.h147 QualType withConst() const { in withConst() function
148 return Stored.withConst(); in withConst()
DASTContext.h924 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
DType.h718 QualType withConst() const {
/external/clang/lib/Analysis/
DPrintfFormatString.cpp454 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
463 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
/external/clang/lib/AST/
DDeclObjC.cpp922 selfTy = selfTy.withConst(); in createImplicitParams()
929 selfTy = selfTy.withConst(); in createImplicitParams()
DMicrosoftMangle.cpp1388 T = T.withConst(); in mangleArgumentType()
DASTContext.cpp4680 FieldTypes[0] = getPointerType(IntTy.withConst()); in getCFConstantStringType()
4684 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringType()
7793 Type = Type.withConst(); in DecodeTypeFromStr()
/external/clang/lib/Sema/
DSemaExprObjC.cpp509 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
703 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
830 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
864 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
DSemaStmt.cpp115 var->setType(type.withConst()); in ActOnForEachDeclStmt()
2426 SemaRef.Context.getLValueReferenceType(E->getType().withConst()); in DiagnoseForRangeReferenceVariableCopies()
2553 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst()); in ActOnIndirectGotoStmt()
DSemaExprCXX.cpp393 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand, in BuildCXXTypeId()
461 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E, in BuildCXXTypeId()
528 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand, in BuildCXXUuidof()
548 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E, in BuildCXXUuidof()
DSemaExpr.cpp3027 ResTy = Context.WideCharTy.withConst(); in BuildPredefinedExpr()
3036 ResTy = Context.CharTy.withConst(); in BuildPredefinedExpr()
3267 Context.CharTy.withConst(), llvm::APInt(32, Length + 1), in ActOnNumericConstant()
12439 CaptureType = CaptureType.getNonReferenceType().withConst(); in captureInBlock()
12460 DeclRefType.withConst(), in captureInBlock()
DSemaInit.cpp3157 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction()
6524 E.withConst(), in diagnoseListInit()
DSemaDeclCXX.cpp6131 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial()
10000 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment()
10820 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
DSemaChecking.cpp679 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall()
2217 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp531 T = isConst ? Context->getObjCIdType().withConst() in convertToUnqualifiedObjCType()
2338 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2538 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2568 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2773 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCArrayLiteralExpr()
2908 QualType ConstIdT = Context->getObjCIdType().withConst(); in RewriteObjCDictionaryLiteralExpr()
DRewriteObjC.cpp2226 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2440 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2470 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp2759 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString()
2761 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
DCGObjC.cpp99 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
DItaniumCXXABI.cpp3118 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()