diff options
author | Manuel Klimek <klimek@google.com> | 2013-06-03 13:03:05 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-06-03 13:03:05 +0000 |
commit | abff3aa8217049cffe6da77c91e510c66b8c2313 (patch) | |
tree | bb733eb4d9b3fd6799811554fad43be8add63741 /tools | |
parent | e7cbb792c95cb27a9704551579da19ebcaa06cdb (diff) | |
download | external_llvm-abff3aa8217049cffe6da77c91e510c66b8c2313.zip external_llvm-abff3aa8217049cffe6da77c91e510c66b8c2313.tar.gz external_llvm-abff3aa8217049cffe6da77c91e510c66b8c2313.tar.bz2 |
Introduce needsCleanup() for APFloat and APInt.
This is needed in clang so one can check if the object needs the
destructor called after its memory was freed. This is useful when
creating many APInt/APFloat objects with placement new, where the
overhead of tracking the pointers for cleanup is significant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions