puetzk wrote:
Just for sake of linkdumping,
https://developercommunity.visualstudio.com/t/Non-allocating-placement-array-new-somet/10777485?sort=active
shows another (later) regression when the type in question come from a
template parameter.
https://github.com/llvm/llvm-project/pull/150161
_
puetzk wrote:
Hmm. The test case presented in that
https://stackoverflow.com/questions/15254/can-placement-new-for-arrays-be-used-in-a-portable-way/75418614#75418614
link *does* show MSVC misbehaving as late as VS 2019 16.5 (for some reason
MSVC 16.6 is missing on godbolt). https://godbolt.org
puetzk added a comment.
Also rebased against r287335/496a3f56c7
Repository:
rL LLVM
https://reviews.llvm.org/D26846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
puetzk updated this revision to Diff 78569.
puetzk added a comment.
Address comments from @aaron.ballman and @majnemer
Add a test case wihich triggers "the 'uuid' attribute only applies to classes
and enumerations" warning
Repository:
rL LLVM
https://reviews.llvm.org/D26846
Files:
includ
puetzk created this revision.
puetzk added a subscriber: cfe-commits.
puetzk set the repository for this revision to rL LLVM.
Although not specifically mentioned in the documentation, MSVC accepts
__uuidof(…) and declspec(uuid("…")) attributes on enumeration types in addition
to structs/classes.