Searched refs:withConst (Results 1 – 19 of 19) sorted by relevance
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 147 QualType withConst() const { in withConst() function 148 return Stored.withConst(); in withConst()
|
D | ASTContext.h | 924 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
|
D | Type.h | 718 QualType withConst() const {
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 454 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType() 463 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 922 selfTy = selfTy.withConst(); in createImplicitParams() 929 selfTy = selfTy.withConst(); in createImplicitParams()
|
D | MicrosoftMangle.cpp | 1388 T = T.withConst(); in mangleArgumentType()
|
D | ASTContext.cpp | 4680 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/ |
D | SemaExprObjC.cpp | 509 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()
|
D | SemaStmt.cpp | 115 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()
|
D | SemaExprCXX.cpp | 393 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()
|
D | SemaExpr.cpp | 3027 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()
|
D | SemaInit.cpp | 3157 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction() 6524 E.withConst(), in diagnoseListInit()
|
D | SemaDeclCXX.cpp | 6131 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial() 10000 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment() 10820 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
|
D | SemaChecking.cpp | 679 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall() 2217 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 531 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()
|
D | RewriteObjC.cpp | 2226 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/ |
D | CodeGenModule.cpp | 2759 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString() 2761 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
|
D | CGObjC.cpp | 99 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
|
D | ItaniumCXXABI.cpp | 3118 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()
|