summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Frontend/CompilerInstanceTest.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-06-11 09:52:30 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-06-11 09:52:30 +0000
commitedea75d6f42e4db9383260a8d592e6cf1569d622 (patch)
treebfe573e782d3751a888e07ce9b73756958169f62 /clang/unittests/Frontend/CompilerInstanceTest.cpp
parent287e78c82bd7343247ba1cdf236a638f7aef17dd (diff)
downloadbcm5719-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.cpp1
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;
OpenPOWER on IntegriCloud