summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/common/clang/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-perf/common/clang/main.cpp')
-rw-r--r--lldb/tools/lldb-perf/common/clang/main.cpp32
1 files changed, 14 insertions, 18 deletions
diff --git a/lldb/tools/lldb-perf/common/clang/main.cpp b/lldb/tools/lldb-perf/common/clang/main.cpp
index 709c3946fb2..318a26b2c28 100644
--- a/lldb/tools/lldb-perf/common/clang/main.cpp
+++ b/lldb/tools/lldb-perf/common/clang/main.cpp
@@ -1,24 +1,20 @@
-#include <stdio.h>
#include <stdint.h>
+#include <stdio.h>
#include <vector>
namespace {
- struct Foo
- {
- int i; int j;
- };
- void doit (const Foo &foo)
- {
- printf ("doit(%i)\n", foo.i);
- }
+struct Foo {
+ int i;
+ int j;
+};
+void doit(const Foo &foo) { printf("doit(%i)\n", foo.i); }
}
-int main (int argc, char const *argv[], char const *envp[])
-{
- std::vector<int> ints;
- for (int i=0;i<10;++i)
- ints.push_back(i);
- printf ("hello world\n");
- Foo foo = { 12, 13 };
- doit (foo);
- return 0;
+int main(int argc, char const *argv[], char const *envp[]) {
+ std::vector<int> ints;
+ for (int i = 0; i < 10; ++i)
+ ints.push_back(i);
+ printf("hello world\n");
+ Foo foo = {12, 13};
+ doit(foo);
+ return 0;
}
OpenPOWER on IntegriCloud