diff options
author | Eric Astor <epastor@google.com> | 2020-05-01 07:42:54 -0400 |
---|---|---|
committer | Eric Astor <epastor@google.com> | 2020-05-01 07:43:32 -0400 |
commit | 1428f86cf9863255adac92e82ae459331123a502 (patch) | |
tree | a52bc2138f3d66d82864113138eb2e1d7d02d6df /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 29b955f97cc6a4b96aba0ccdc033884c51ef466f (diff) | |
download | llvm-1428f86cf9863255adac92e82ae459331123a502.zip llvm-1428f86cf9863255adac92e82ae459331123a502.tar.gz llvm-1428f86cf9863255adac92e82ae459331123a502.tar.bz2 |
[ms] llvm-lib gives a more useful error if no inputs and no output path are provided
Summary:
If no inputs and no output path are provided, llvm-lib should produce a useful error.
Before this, it would fail by reading from an unitialized StringRef.
Reviewed By: vvereschaka
Differential Revision: https://reviews.llvm.org/D79227
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions