[PATCH] D39035: Unnamed bitfields don't block constant evaluation of constexpr constructors

Jordan Rose via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 10:42:09 PDT 2017


jordan_rose added a comment.

Thanks, Aaron!



================
Comment at: test/SemaCXX/warn-global-constructors.cpp:130
+
+namespace HasUnnamedBitfield {
+  struct HasUnnamedBitfield {
----------------
aaron.ballman wrote:
> Does this namespace require a name? If so, can it be named different than the struct declared within it?
I'm just trying to keep from having my test cases collide with the rest of the file and any future additions. I'll change it. (There's no PR or Radar for this at the moment; I just came across it while working on something else.)


Repository:
  rL LLVM

https://reviews.llvm.org/D39035





More information about the cfe-commits mailing list