diff options
author | Balázs Kéri <1.int32@gmail.com> | 2021-02-16 15:52:44 +0100 |
---|---|---|
committer | Balázs Kéri <1.int32@gmail.com> | 2021-02-17 09:02:49 +0100 |
commit | 085dcc82178f94b99783c5730e70a953e4105c00 (patch) | |
tree | 4d980d346ce36ee2f793ec2cd98ac29d6e6ec5a2 /llvm/lib/IR/Module.cpp | |
parent | ab8a62057384e1bbfd528a4012cd898511c83b02 (diff) | |
download | llvm-085dcc82178f94b99783c5730e70a953e4105c00.zip llvm-085dcc82178f94b99783c5730e70a953e4105c00.tar.gz llvm-085dcc82178f94b99783c5730e70a953e4105c00.tar.bz2 |
[clang][Frontend] Fix a crash in DiagnosticRenderer.
Displaying the problem range could crash if the begin and end of a
range is in different files or macros. After the change such range
is displayed only as the beginning location.
There is a bug for this problem:
https://bugs.llvm.org/show_bug.cgi?id=46540
Reviewed By: steakhal
Differential Revision: https://reviews.llvm.org/D95860
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions