diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2019-06-11 09:52:30 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2019-06-11 09:52:30 +0000 |
commit | edea75d6f42e4db9383260a8d592e6cf1569d622 (patch) | |
tree | bfe573e782d3751a888e07ce9b73756958169f62 /clang/unittests/Frontend/CompilerInstanceTest.cpp | |
parent | 287e78c82bd7343247ba1cdf236a638f7aef17dd (diff) | |
download | bcm5719-llvm-edea75d6f42e4db9383260a8d592e6cf1569d622.tar.gz bcm5719-llvm-edea75d6f42e4db9383260a8d592e6cf1569d622.zip |
[Frontend] Avoid creating auxilary files during a unit test. NFC
A test added in r363009 logs diagnostics into a file inside current
working directory. This breaks when the directory is not writable.
This looks like a debugging output in the first place, the test passes
without it anyway.
llvm-svn: 363041
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
-rw-r--r-- | clang/unittests/Frontend/CompilerInstanceTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/unittests/Frontend/CompilerInstanceTest.cpp b/clang/unittests/Frontend/CompilerInstanceTest.cpp index 3ef13d32ca4..3b3dc527df5 100644 --- a/clang/unittests/Frontend/CompilerInstanceTest.cpp +++ b/clang/unittests/Frontend/CompilerInstanceTest.cpp @@ -73,7 +73,6 @@ TEST(CompilerInstance, DefaultVFSOverlayFromInvocation) { TEST(CompilerInstance, AllowDiagnosticLogWithUnownedDiagnosticConsumer) { auto DiagOpts = new DiagnosticOptions(); - DiagOpts->DiagnosticLogFile = "log.diags"; // Create the diagnostic engine with unowned consumer. std::string DiagnosticOutput; |