]> granicus.if.org Git - clang/commit
Make inline namespace not be transparent after all. The concept simply doesn't fit...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 31 Aug 2010 20:53:31 +0000 (20:53 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 31 Aug 2010 20:53:31 +0000 (20:53 +0000)
commit410c4f2eb5e6a8c2318cacb9a6751f1b4fcff166
tree533dee111e3bb10c9bc1158afb3be5392a54be76
parent0b36e614aa19df72885d5e0de996f7fbb9874ec3
Make inline namespace not be transparent after all. The concept simply doesn't fit. Instead, special-case the few places where transparent contexts have the desired behavior for inline namespaces. Fixes a redeclaration issue in inline namespaces.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112637 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/AST/DeclBase.cpp
lib/Sema/SemaLookup.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp