]> granicus.if.org Git - clang/commit
When declaring a namespace alias, ignore previous declarations that
authorDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 15:37:31 +0000 (15:37 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 15:37:31 +0000 (15:37 +0000)
commitae374759fce6c74d5be29dfe058d4a727154115c
treee6b2b71a1839d2bbfb0d5c14f9c02ef4327d7733
parent6920cdce298ac9ba50dc7ebb7dea982a300b0664
When declaring a namespace alias, ignore previous declarations that
aren't in scope. Fixes PR7014.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102915 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/namespace-alias.cpp