Fix bogus "inline namespace cannot be reopened as non-inline" diagnostic to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 30 Sep 2016 23:16:08 +0000 (23:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 30 Sep 2016 23:16:08 +0000 (23:16 +0000)
commit360cb2570ed525bf7e44e758a7feabe2b0a7ec1d
treea4522c699f17725cfb83714f2a60a3058e9fe79a
parent8dbaf5cb4de16d7fe5de9329c7407dbd1b211648
Fix bogus "inline namespace cannot be reopened as non-inline" diagnostic to
just warn that the second declaration is missing the 'inline' keyword. This is
valid, and we shouldn't be suggesting otherwise.

llvm-svn: 282981
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp