aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-09 13:54:56 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-11 17:07:58 -0800
commit8c86197de3cba4257f26133e837d64e5f8ece210 (patch)
tree378844051405c4afbcbe8e785406409db30103ef /clang/unittests/Frontend/CompilerInvocationTest.cpp
parenta60043219907b8f370263b7d3d4827b83388d8cf (diff)
downloadllvm-8c86197de3cba4257f26133e837d64e5f8ece210.zip
llvm-8c86197de3cba4257f26133e837d64e5f8ece210.tar.gz
llvm-8c86197de3cba4257f26133e837d64e5f8ece210.tar.bz2
clang-import-test: Clean up error output for files that cannot be found
Pass on the filesystem error string `FileManager::getFileRef` in `clang-import-test`'s `ParseSource` function. Also include "error:" and a newline in the output. As a side effect, migrate to the `FileEntryRef` overload of `SourceManager::createFileID`. No real functionality change here, just slightly better output on error. Differential Revision: https://reviews.llvm.org/D92971
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions