[PATCH] D28514: [CodeCompletion] Reset the hidden declaration obtained after lookup when caching UsingShadowDecls
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 20 09:28:26 PST 2017
ahatanak added a comment.
I had something like the following code in mind (which is not invalid). Does usingdecl Bar::C hide Foo::C ?
namespace Foo {
class C { };
}
namespace Bar { class C { }; }
using Foo::C;
{
using Bar::C;
}
Repository:
rL LLVM
https://reviews.llvm.org/D28514
More information about the cfe-commits
mailing list