]> granicus.if.org Git - clang/commit
When a namespace alias redeclares a using declaration, point the diagnostic at
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Dec 2015 23:42:34 +0000 (23:42 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Dec 2015 23:42:34 +0000 (23:42 +0000)
commit13e4061bde5ca7929d35b763ff2b32888e62d0b1
tree6509c9015d45b348e05cc3a55fffc55b501e10da
parent25c491096330e3d3692dd5e3f352856b65b7a621
When a namespace alias redeclares a using declaration, point the diagnostic at
the using declaration not at the thing it's using.

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