[PATCH] D95860: [clang][Frontend] Fix a crash in DiagnosticRenderer.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 3 03:36:35 PST 2021


balazske added a comment.

I realized that the added test cases show different problems: One is when one of `Begin` or `End` is invalid, other if the FileID's are different. Probably we can find a better solution for the second problem. So the patch needs to be splitted and the case with the **crash-diagnostic-renderer.cpp** goes into the first part.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95860



More information about the cfe-commits mailing list