diff options
author | LemonBoy <thatlemon@gmail.com> | 2020-10-22 14:13:07 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2020-10-22 14:14:19 -0700 |
commit | fd14a1f6fff37ef62a35ca0f8bc630ac8b23516d (patch) | |
tree | 671bcc28529a3c3a1cb8d96ed7868276cd083610 /clang/lib/Basic/SourceManager.cpp | |
parent | d098bb39aa615c3d3d97e3977dcc70b9de806a3f (diff) | |
download | llvm-fd14a1f6fff37ef62a35ca0f8bc630ac8b23516d.zip llvm-fd14a1f6fff37ef62a35ca0f8bc630ac8b23516d.tar.gz llvm-fd14a1f6fff37ef62a35ca0f8bc630ac8b23516d.tar.bz2 |
[clang][Frontend] Add missing error handling
Some early errors during the ASTUnit creation were not transferred to the `FailedParseDiagnostic` so when the code in `LoadFromCommandLine` swaps its content with the content of `StoredDiagnostics` they cannot be retrieved by the user in any way.
Reviewed By: andrewrk, dblaikie
Differential Revision: https://reviews.llvm.org/D78658
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions