[Lldb-commits] [lldb] r359089 - Minor code style fix in ClangUserExpression.cpp [NFC]

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 24 05:55:00 PDT 2019


Author: teemperor
Date: Wed Apr 24 05:55:00 2019
New Revision: 359089

URL: http://llvm.org/viewvc/llvm-project?rev=359089&view=rev
Log:
Minor code style fix in ClangUserExpression.cpp [NFC]

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

Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp?rev=359089&r1=359088&r2=359089&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp Wed Apr 24 05:55:00 2019
@@ -432,9 +432,8 @@ void ClangUserExpression::UpdateLanguage
     std::size_t original_end;
     bool found_bounds = source_code->GetOriginalBodyBounds(
         m_transformed_text, m_expr_lang, original_start, original_end);
-    if (found_bounds) {
+    if (found_bounds)
       m_user_expression_start_pos = original_start;
-    }
   }
 }
 




More information about the lldb-commits mailing list