]> granicus.if.org Git - clang/commit
Downgrade the error about re-opening an inline namespace as non-inline
authorDouglas Gregor <dgregor@apple.com>
Fri, 20 May 2011 15:48:31 +0000 (15:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 20 May 2011 15:48:31 +0000 (15:48 +0000)
commitb7ec906b189f71ab35825bdb60fb1f6c4c40880b
tree966d122e10131eac1b981074649eaa465f7ba755
parentfc92137eee708b632c00a9b0934ff87aeae234a5
Downgrade the error about re-opening an inline namespace as non-inline
to a warning, since apparently libstdc++'s debug mode does this (and
we can recover safely). Add a Fix-It to insert the "inline", just for kicks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131732 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp