[clang] [Clang] allow [[msvc::constexpr]] usage outside the std namespace (PR #119153)
Richard Dzenis via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 02:39:18 PST 2024
================
----------------
RIscRIpt wrote:
I don't think so.
Ah, I forgot I previously added `clang/test/AST/ms-constexpr.cpp`, so having your new `ms-constexpr-new.cpp` makes sense (sorry for confusion).
But I still would like to see a test in `clang/test/SemaCXX/ms-constexpr-new.cpp` that placement new can be called outside of `std` namespace (in non c++26 mode) when used in `[[msvc::constexpr]]` context.
https://github.com/llvm/llvm-project/pull/119153
More information about the cfe-commits
mailing list