Szelethus marked an inline comment as done. Szelethus added inline comments.
================ Comment at: clang/test/Analysis/Inputs/system-header-simulator-cxx.h:971-972 #else -void* operator new(std::size_t, const std::nothrow_t&) throw(); -void* operator new[](std::size_t, const std::nothrow_t&) throw(); -void operator delete(void*, const std::nothrow_t&) throw(); -void operator delete[](void*, const std::nothrow_t&) throw(); +// C++20 standard draft 17.6.1, from "Header <new> synopsis", but with throw() +// instead of noexcept: + ---------------- NoQ wrote: > Does it need to be guarded with `#if __cplusplus >= ...` then? It wasn't guarded before, so I don't think so? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77391/new/ https://reviews.llvm.org/D77391 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits