From b491ef4317782fdb0e52149fbf4f76a9692a1dd4 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 12 Aug 2016 09:39:22 +0000 Subject: Make TestCallStopAndContinue clang-format-resilient llvm-svn: 278490 --- .../test/expression_command/call-function/TestCallStopAndContinue.py | 3 +-- .../Python/lldbsuite/test/expression_command/call-function/main.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/expression_command') diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py index 4d18cfc980f..066d94bd19d 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py @@ -21,8 +21,7 @@ class ExprCommandCallStopContinueTestCase(TestBase): # 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") diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp index 9b494c712bc..cc5f52dbf56 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp @@ -11,7 +11,7 @@ struct Five Five returnsFive() { - Five my_five = { 5, "five" }; + Five my_five = {5, "five"}; return my_five; } -- cgit v1.2.3