ChuanqiXu added a comment.

> It is a case that we have supported; the user puts in a use of a decl but 
> forgets to import the module exporting it (I agree it is not _exactly_ a 
> "typo" in terms of names, but the diagnostics counts it in the same way)

I got your point. But I prefer to implement an all-visible mode (not available 
for users) for such situations. And I still think it is not problem for the 
special case. Since this is patch is working for **internal** decls.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145965/new/

https://reviews.llvm.org/D145965

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

Reply via email to