/external/clang/include/clang/AST/ |
D | CanonicalType.h | 147 QualType withConst() const { in withConst() function 148 return Stored.withConst(); in withConst()
|
D | ASTContext.h | 1031 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
|
D | Type.h | 764 QualType withConst() const {
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 521 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType() 530 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 546 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()
|
D | SemaOpenMP.cpp | 1593 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()
|
D | SemaStmt.cpp | 117 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()
|
D | SemaExprCXX.cpp | 392 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()
|
D | SemaExpr.cpp | 3086 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()
|
D | SemaInit.cpp | 3423 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction() 7015 E.withConst(), in diagnoseListInit()
|
D | SemaDeclCXX.cpp | 6322 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial() 10163 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment() 10989 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
|
D | SemaChecking.cpp | 1225 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall() 3278 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1036 selfTy = selfTy.withConst(); in getSelfType() 1043 selfTy = selfTy.withConst(); in getSelfType()
|
D | MicrosoftMangle.cpp | 1501 T = T.withConst(); in mangleArgumentType()
|
D | ASTContext.cpp | 4898 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/ |
D | RewriteModernObjC.cpp | 525 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()
|
D | RewriteObjC.cpp | 2223 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/ |
D | CGOpenMPRuntime.cpp | 3425 C.getPointerType(PrivatesQTy).withConst().withRestrict()); in emitTaskPrivateMappingFunction() 3433 .withConst() in emitTaskPrivateMappingFunction() 3443 .withConst() in emitTaskPrivateMappingFunction() 3453 .withConst() in emitTaskPrivateMappingFunction()
|
D | CodeGenModule.cpp | 3275 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString() 3277 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
|
D | CGObjC.cpp | 126 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
|
D | CGObjCMac.cpp | 356 Ctx.getCanonicalType(Ctx.getPointerType(Ctx.CharTy.withConst()))); in getLookUpClassFn() 2699 ctx.getPointerType(ctx.CharTy.withConst()))); in EmitClassRefViaRuntime()
|
D | ItaniumCXXABI.cpp | 3353 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()
|