EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
Accepting before closing.
I committed something similar in r273819. Please let me know if it doesn't work.
http://reviews.llvm.org/D21625
___
EricWF added a comment.
I don't think all the compilers libc++ tests with support `[[noreturn]]` yet.
I'll commit a similar patch to this though.
http://reviews.llvm.org/D21625
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
STL_MSFT created this revision.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
Mark throw_bad_alloc_helper() as [[noreturn]].
This avoids MSVC /analyze warnings about new returning null, since [[noreturn]]
allows the analyzer to see what's happening.