/external/clang/include/clang/AST/ |
D | CanonicalType.h | 147 QualType withConst() const { in withConst() function 148 return Stored.withConst(); in withConst()
|
D | ASTContext.h | 1021 QualType getConstType(QualType T) const { return T.withConst(); } in getConstType()
|
D | Type.h | 741 QualType withConst() const {
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 516 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType() 525 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 548 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()
|
D | SemaOpenMP.cpp | 1371 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()
|
D | SemaStmt.cpp | 116 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()
|
D | SemaExprCXX.cpp | 392 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()
|
D | SemaExpr.cpp | 3021 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()
|
D | SemaInit.cpp | 3338 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction() 6850 E.withConst(), in diagnoseListInit()
|
D | SemaDeclCXX.cpp | 6167 Context.getRecordType(RD).withConst()); in SpecialMemberIsTrivial() 10037 ArgType = ArgType.withConst(); in DeclareImplicitCopyAssignment() 10861 ArgType = ArgType.withConst(); in DeclareImplicitCopyConstructor()
|
D | SemaChecking.cpp | 725 EltTy = EltTy.withConst(); in CheckNeonBuiltinFunctionCall() 2546 { 1, Context.getPointerType(Context.CharTy.withConst()) }, in SemaBuiltinVAStartARM()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1004 selfTy = selfTy.withConst(); in getSelfType() 1011 selfTy = selfTy.withConst(); in getSelfType()
|
D | MicrosoftMangle.cpp | 1449 T = T.withConst(); in mangleArgumentType()
|
D | ASTContext.cpp | 4839 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/ |
D | RewriteModernObjC.cpp | 531 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()
|
D | RewriteObjC.cpp | 2227 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/ |
D | CGOpenMPRuntime.cpp | 2215 C.getPointerType(PrivatesQTy).withConst().withRestrict()); in emitTaskPrivateMappingFunction() 2223 .withConst() in emitTaskPrivateMappingFunction() 2233 .withConst() in emitTaskPrivateMappingFunction()
|
D | CodeGenModule.cpp | 3002 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst()); in GetAddrOfConstantString() 3004 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString()
|
D | CGObjC.cpp | 126 QualType ElementType = Context.getObjCIdType().withConst(); in EmitObjCCollectionLiteral()
|
D | ItaniumCXXABI.cpp | 3317 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()
|