[PATCH] Sema: Diagnose improper application of inheritance keywords

David Majnemer david.majnemer at gmail.com
Mon Jan 20 15:18:30 PST 2014


Hi rnk, rsmith, aaron.ballman,

We would previously allow inappropriate inheritance keywords to appear
on class declarations.  We would also allow inheritance keywords on
templates which were not fully specialized; this was divergent from
MSVC.

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

Files:
  include/clang/AST/DeclCXX.h
  include/clang/Basic/Attr.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/AST/MicrosoftCXXABI.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/SemaCXX/member-pointer-ms.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2585.1.patch
Type: text/x-patch
Size: 12002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140120/11612bdb/attachment.bin>


More information about the cfe-commits mailing list