akyrtzi added a comment.

In D135118#3833978 <https://reviews.llvm.org/D135118#3833978>, @steven_wu wrote:

> LGTM.
>
> `RemoveDecl` does become more expensive but I don't have better solution.

Luckily AFAICT this is not a "hot" function.

> I am also wondering if as follow up we should add an option to 
> `VerifyDiagnosticConsumer` to be location aware (so the diagnostics from a 
> file is emitted in order) to prevent more problem like this.

Interesting idea! Something to keep in mind.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135118

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

Reply via email to