[Lldb-commits] [lldb] r269562 - [LLDB] Adding lldb_private namespace to DiagnosticSeverity. NFC.

Renato Golin via lldb-commits lldb-commits at lists.llvm.org
Sat May 14 06:14:39 PDT 2016


Author: rengolin
Date: Sat May 14 08:14:39 2016
New Revision: 269562

URL: http://llvm.org/viewvc/llvm-project?rev=269562&view=rev
Log:
[LLDB] Adding lldb_private namespace to DiagnosticSeverity. NFC.

This is a fix due to the addition of the new DiagnosticSeverity in
LLVMContext.h. This may warrant a change in name to be LLDB specific
but I leave that to the LLDB experts to refactor.

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

Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp?rev=269562&r1=269561&r2=269562&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Sat May 14 08:14:39 2016
@@ -180,7 +180,7 @@ public:
             diag_str.push_back('\0');
             const char *data = diag_str.data();
 
-            DiagnosticSeverity severity;
+            lldb_private::DiagnosticSeverity severity;
             bool make_new_diagnostic = true;
             
             switch (DiagLevel)




More information about the lldb-commits mailing list