[clang] [analyzer] Fix FP for cplusplus.placement new #149240 (PR #150161)

2025-07-28 Thread Kevin Puetz via cfe-commits
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 _

[clang] [analyzer] Fix FP for cplusplus.placement new #149240 (PR #150161)

2025-07-28 Thread Kevin Puetz via cfe-commits
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

[PATCH] D26846: __uuidof() and declspec(uuid("...")) should be allowed on enumeration types

2016-11-18 Thread Kevin Puetz via cfe-commits
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

[PATCH] D26846: __uuidof() and declspec(uuid("...")) should be allowed on enumeration types

2016-11-18 Thread Kevin Puetz via 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

[PATCH] D26846: __uuidof() and declspec(uuid("...")) should be allowed on enumeration types

2016-11-18 Thread Kevin Puetz via cfe-commits
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.