]> granicus.if.org Git - clang/commit
Splitting the duplicated decl spec extension warning into two: one is an ExtWarn...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 28 Aug 2012 20:55:40 +0000 (20:55 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 28 Aug 2012 20:55:40 +0000 (20:55 +0000)
commitc828620a03b20835a376f6f456a72e44599f4f87
tree58b4cb1bb4448d8661c99181be47c34f8cd4aa15
parent827eeb63614309bafac9d77a5a3a7ca81f1e4751
Splitting the duplicated decl spec extension warning into two: one is an ExtWarn and the other a vanilla warning.  This addresses PR13705, where const char const * wouldn't warn unless -pedantic was specified under the right conditions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162793 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticParseKinds.td
lib/Sema/DeclSpec.cpp
test/Misc/warning-flags.c
test/Parser/cxx-decl.cpp
test/Parser/cxx0x-decl.cpp