Author: Raphael Isemann
Date: 2020-05-13T15:55:51+02:00
New Revision: 2fe6672498d60074fd34e2770659d5526e53e093

URL: 
https://github.com/llvm/llvm-project/commit/2fe6672498d60074fd34e2770659d5526e53e093
DIFF: 
https://github.com/llvm/llvm-project/commit/2fe6672498d60074fd34e2770659d5526e53e093.diff

LOG: [lldb][NFC] Don't specify a default argument when creating a 
TextDiagnosticPrinter

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

Removed: 
    


################################################################################
diff  --git 
a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 
b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
index e7afbe5c3031..8885cbc85b2c 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
@@ -162,8 +162,7 @@ class ClangDiagnosticManagerAdapter : public 
clang::DiagnosticConsumer {
     m_options->ShowPresumedLoc = true;
     m_options->ShowLevel = false;
     m_os.reset(new llvm::raw_string_ostream(m_output));
-    m_passthrough.reset(
-        new clang::TextDiagnosticPrinter(*m_os, m_options, false));
+    m_passthrough.reset(new clang::TextDiagnosticPrinter(*m_os, m_options));
   }
 
   void ResetManager(DiagnosticManager *manager = nullptr) {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to