summaryrefslogtreecommitdiff
path: root/include/llvm/User.h
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-03-19 23:26:52 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-03-19 23:26:52 +0000
commit48fe63526e35ddaee7e98879596a569911f41319 (patch)
treeac51c35b589cd58106bb9afd41ad7ad20cb059a8 /include/llvm/User.h
parenta24752ff43dc1ad8c18c5d9e78549c45f62b980e (diff)
downloadllvm-48fe63526e35ddaee7e98879596a569911f41319.tar.gz
llvm-48fe63526e35ddaee7e98879596a569911f41319.tar.bz2
llvm-48fe63526e35ddaee7e98879596a569911f41319.tar.xz
Fix the Win32 VS2008 build:
- Make type declarations match the struct/class keyword of the definition. - Move AddSignalHandler into the namespace where it belongs. - Correctly call functions from template base. - Some other small changes. With this patch, LLVM and Clang should build properly and with far less noise under VS2008. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/User.h')
-rw-r--r--include/llvm/User.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 69826c0d8c..8a244068b2 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -84,6 +84,10 @@ public:
void operator delete(void*, unsigned) {
assert(0 && "Constructor throws?");
}
+ /// placement delete - required by std, but never called.
+ void operator delete(void*, unsigned, bool) {
+ assert(0 && "Constructor throws?");
+ }
protected:
template <int Idx, typename U> static Use &OpFrom(const U *that) {
return Idx < 0