]> granicus.if.org Git - clang/commit
Diagnose GNU-style attributes preceding virt-specifiers, but only when the attribute...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 4 Aug 2014 17:03:51 +0000 (17:03 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 4 Aug 2014 17:03:51 +0000 (17:03 +0000)
commit30d47b46c3682ac7cfb1b8d20cc0664cd665a1da
tree4699a65a27883b966ce391b158f637e79b8bebc6
parentd8a1fd6e9ccf53c5e8ffcf151382b374713d2514
Diagnose GNU-style attributes preceding virt-specifiers, but only when the attribute is known to GCC. Clang accepts attributes in this position, but
GCC does not, so this is a GCC-compat warning. If the attribute is not known to GCC, then the diagnostic is suppressed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214730 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDeclCXX.cpp
test/SemaCXX/attr-gnu.cpp