[PATCH] D80295: [Sema] Diagnose more cases of static data members in local or unnamed classes

John Brawn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 11:47:49 PDT 2020


john.brawn updated this revision to Diff 265779.
john.brawn retitled this revision from "[Sema] Diagnose static data members in classes nested in unnamed classes" to "[Sema] Diagnose more cases of static data members in local or unnamed classes".
john.brawn edited the summary of this revision.
john.brawn added a comment.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Detect more kinds of local class.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80295/new/

https://reviews.llvm.org/D80295

Files:
  clang/lib/Sema/SemaDecl.cpp
  clang/test/OpenMP/for_loop_messages.cpp
  clang/test/SemaCXX/anonymous-struct.cpp
  clang/test/SemaCXX/blocks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80295.265779.patch
Type: text/x-patch
Size: 3927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200522/e02b912f/attachment-0001.bin>


More information about the cfe-commits mailing list