summaryrefslogtreecommitdiff
path: root/include/llvm/IRBuilder.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-18 02:05:45 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-18 02:05:45 +0000
commit0cb0a3533788c6c622518cb030048012eb69af15 (patch)
treeb20fffcd9cf62bc9cdcda29cce0d0902a3c6fd0a /include/llvm/IRBuilder.h
parentc2945e44d5d485ce080a09900fbd5245e01165fc (diff)
downloadllvm-0cb0a3533788c6c622518cb030048012eb69af15.tar.gz
llvm-0cb0a3533788c6c622518cb030048012eb69af15.tar.bz2
llvm-0cb0a3533788c6c622518cb030048012eb69af15.tar.xz
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
Diffstat (limited to 'include/llvm/IRBuilder.h')
-rw-r--r--include/llvm/IRBuilder.h2
1 files changed, 1 insertions, 1 deletions
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)