From 9a3a6ab3b626f4e9418edde7f6bfb31f046a874f Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 11 Jan 2016 18:07:47 +0000 Subject: Replace accidental DOS (and mixed) line endings in a few text files Summary: Similar to rL256704 and rL256707, fix a few text files which were accidentally checked in with DOS line endings, or mixed line endings. Reviewers: jingham, emaste Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16027 llvm-svn: 257361 --- .../postmortem/minidump/fizzbuzz.cpp | 62 +++++++++++----------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'lldb/packages/Python') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp index eb6476bfd9a..295d4a1f24d 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp @@ -1,31 +1,31 @@ -// A sample program for getting minidumps on Windows. - -#include - -bool -fizz(int x) -{ - return x % 3 == 0; -} - -bool -buzz(int x) -{ - return x % 5 == 0; -} - -int -main() -{ - int *buggy = 0; - - for (int i = 1; i <= 100; ++i) - { - if (fizz(i)) std::cout << "fizz"; - if (buzz(i)) std::cout << "buzz"; - if (!fizz(i) && !buzz(i)) std::cout << i; - std::cout << '\n'; - } - - return *buggy; -} +// A sample program for getting minidumps on Windows. + +#include + +bool +fizz(int x) +{ + return x % 3 == 0; +} + +bool +buzz(int x) +{ + return x % 5 == 0; +} + +int +main() +{ + int *buggy = 0; + + for (int i = 1; i <= 100; ++i) + { + if (fizz(i)) std::cout << "fizz"; + if (buzz(i)) std::cout << "buzz"; + if (!fizz(i) && !buzz(i)) std::cout << i; + std::cout << '\n'; + } + + return *buggy; +} -- cgit v1.2.3