From 0cb0a3533788c6c622518cb030048012eb69af15 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 18 Sep 2012 02:05:45 +0000 Subject: Mark constructors, destructors, and operator new commented as 'do not implement' with LLVM_DELETED_FUNCTION instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164091 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IRBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/IRBuilder.h') diff --git a/include/llvm/IRBuilder.h b/include/llvm/IRBuilder.h index e55ed1f84c..ae82c25e3d 100644 --- a/include/llvm/IRBuilder.h +++ b/include/llvm/IRBuilder.h @@ -1052,7 +1052,7 @@ public: private: // Provided to resolve 'CreateIntCast(Ptr, Ptr, "...")', giving a compile time // error, instead of converting the string to bool for the isSigned parameter. - Value *CreateIntCast(Value *, Type *, const char *); // DO NOT IMPLEMENT + Value *CreateIntCast(Value *, Type *, const char *) LLVM_DELETED_FUNCTION; public: Value *CreateFPCast(Value *V, Type *DestTy, const Twine &Name = "") { if (V->getType() == DestTy) -- cgit v1.2.3