]> granicus.if.org Git - clang/commit
Sema: Diagnose improper application of inheritance keywords
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 29 Jan 2014 22:07:36 +0000 (22:07 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 29 Jan 2014 22:07:36 +0000 (22:07 +0000)
commit2a0497a99b6a487b3afe5df6a8c0387146bdcf77
tree240d768e02fe315bf30fc88ebe2d22a2f6f46546
parent7a42b84570476a2d2d177f5f7f2bf2f64af85faf
Sema: Diagnose improper application of inheritance keywords

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.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200423 91177308-0d34-0410-b5e6-96231b3b80d8
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