summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-07-21 23:11:42 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-07-21 23:11:42 +0000
commit72c8331ec1437f8c33fff1dac1ea0ebb11009411 (patch)
tree158b20d33bd16f2e4beb08930321c8c47e053239 /include
parent02a1364bf8ede511ad603e5aa99ea7dbf11f0609 (diff)
downloadllvm-72c8331ec1437f8c33fff1dac1ea0ebb11009411.tar.gz
llvm-72c8331ec1437f8c33fff1dac1ea0ebb11009411.tar.bz2
llvm-72c8331ec1437f8c33fff1dac1ea0ebb11009411.tar.xz
Treat nothrow forms of ::operator delete and ::operator delete[] as
deallocation functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLibraryInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h
index dc80e4001f..8c1f223bc0 100644
--- a/include/llvm/Target/TargetLibraryInfo.h
+++ b/include/llvm/Target/TargetLibraryInfo.h
@@ -24,8 +24,12 @@ namespace llvm {
under_IO_putc,
/// void operator delete[](void*);
ZdaPv,
+ /// void operator delete[](void*, nothrow);
+ ZdaPvRKSt9nothrow_t,
/// void operator delete(void*);
ZdlPv,
+ /// void operator delete(void*, nothrow);
+ ZdlPvRKSt9nothrow_t,
/// void *new[](unsigned int);
Znaj,
/// void *new[](unsigned int, nothrow);