[PATCH] Warn on zero-sized structures inside extern "C" block (PR5065)

Serge Pavlov sepavloff at gmail.com
Wed Nov 13 10:29:15 PST 2013


  Updated patch according to reviewer's notes. Added new tests.

Hi rsmith,

http://llvm-reviews.chandlerc.com/D2151

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2151?vs=5468&id=5513#toc

Files:
  include/clang/AST/DeclBase.h
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/AST/Decl.cpp
  lib/AST/DeclBase.cpp
  lib/Sema/SemaDecl.cpp
  test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
  test/SemaCXX/extern-c.cpp
  test/SemaCXX/storage-class.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2151.2.patch
Type: text/x-patch
Size: 9382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131113/40d2dcf3/attachment.bin>


More information about the cfe-commits mailing list