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

/external/clang/include/clang/AST/
H A DCanonicalType.h147 QualType withConst() const { function in class:clang::CanQual
148 return Stored.withConst();
H A DASTContext.h905 /// calling T.withConst().
906 QualType getConstType(QualType T) const { return T.withConst(); }
H A DType.h702 QualType withConst() const { function in class:clang::QualType
/external/clang/lib/Analysis/
H A DPrintfFormatString.cpp383 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()),
390 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()),
/external/clang/lib/AST/
H A DDeclObjC.cpp915 selfTy = selfTy.withConst();
922 selfTy = selfTy.withConst();
H A DASTContext.cpp4572 FieldTypes[0] = getPointerType(IntTy.withConst());
4576 FieldTypes[2] = getPointerType(CharTy.withConst());
7687 Type = Type.withConst();
H A DMicrosoftMangle.cpp1337 T = T.withConst();
/external/clang/lib/Sema/
H A DSemaExprObjC.cpp507 QualType ConstCharType = Context.CharTy.withConst();
701 << Context.getPointerType(IdT.withConst());
828 << Context.getPointerType(IdT.withConst());
862 << Context.getPointerType(IdT.withConst());
H A DSemaExprCXX.cpp383 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand,
437 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E,
504 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand,
524 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E,
H A DSemaStmt.cpp111 var->setType(type.withConst());
2377 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst());
H A DSemaExpr.cpp2933 ResTy = Context.WideCharTy.withConst();
2935 ResTy = Context.CharTy.withConst();
3133 Context.CharTy.withConst(), llvm::APInt(32, Length + 1),
11752 CaptureType = CaptureType.getNonReferenceType().withConst();
11773 DeclRefType.withConst(),
H A DSemaInit.cpp3114 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()),
6422 E.withConst(),
H A DSemaChecking.cpp461 EltTy = EltTy.withConst();
H A DSemaDeclCXX.cpp5786 Context.getRecordType(RD).withConst());
9501 ArgType = ArgType.withConst();
10297 ArgType = ArgType.withConst();
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp540 T = isConst ? Context->getObjCIdType().withConst()
2350 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2550 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2580 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2787 QualType ConstIdT = Context->getObjCIdType().withConst();
2924 QualType ConstIdT = Context->getObjCIdType().withConst();
H A DRewriteObjC.cpp2235 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2449 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
2479 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst()));
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp2612 FieldTypes[0] = Context.getPointerType(Context.IntTy.withConst());
2614 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst());
H A DCGObjC.cpp103 QualType ElementType = Context.getObjCIdType().withConst();
H A DItaniumCXXABI.cpp2925 QualType PointerTypeConst = getContext().getPointerType(Type.withConst());

Completed in 601 milliseconds