[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:31:07 PST 2017


ahatanak added a comment.

This is not invalid:

  namespace Foo {
      class C { };
  }
  namespace Bar { class C { }; }
  
  void foo1() {
  using Foo::C;
  {
  using Bar::C;
  }
  }


Repository:
  rL LLVM

https://reviews.llvm.org/D28514





More information about the cfe-commits mailing list