[Lldb-commits] [lldb] r278490 - Make TestCallStopAndContinue clang-format-resilient

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 12 02:39:23 PDT 2016


Author: labath
Date: Fri Aug 12 04:39:22 2016
New Revision: 278490

URL: http://llvm.org/viewvc/llvm-project?rev=278490&view=rev
Log:
Make TestCallStopAndContinue clang-format-resilient

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp

Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py?rev=278490&r1=278489&r2=278490&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py Fri Aug 12 04:39:22 2016
@@ -21,8 +21,7 @@ class ExprCommandCallStopContinueTestCas
         # Find the line number to break for main.c.
         self.line = line_number('main.cpp',
                                 '// Please test these expressions while stopped at this line:')
-        self.func_line = line_number ('main.cpp', 
-                                '{ 5, "five" }')
+        self.func_line = line_number ('main.cpp', '{5, "five"}')
 
     @expectedFlakeyDarwin("llvm.org/pr20274")
     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")

Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp?rev=278490&r1=278489&r2=278490&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp Fri Aug 12 04:39:22 2016
@@ -11,7 +11,7 @@ struct Five
 Five
 returnsFive()
 {
-    Five my_five = { 5, "five" };
+    Five my_five = {5, "five"};
     return my_five;
 }
 




More information about the lldb-commits mailing list