ahatanak added a comment.

In the example I showed, wouldn't the DeclContext for all the UsingDecls and 
UsingShadowDecls be the FunctionDecl for foo1? Maybe you can check whether 
UsingShadowDecl::getUsingDecl() (which returns the UsingDecl which is tied to 
the UsingShadowDecl) is equal to the UsingDecl instead?


Repository:
  rL LLVM

https://reviews.llvm.org/D28514



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to