Skip to content

Commit 7cdeb18

Browse files
committed
fixup! clang-format
1 parent 40de26b commit 7cdeb18

File tree

1 file changed

+12
-14
lines changed
  • lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic

1 file changed

+12
-14
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,26 @@ struct Child {
66
// This should point to the parent which in turn owns this
77
// child instance. This cycle should not cause LLDB to infinite loop
88
// during printing.
9-
std::atomic<Parent*> parent{nullptr};
9+
std::atomic<Parent *> parent{nullptr};
1010
};
1111
struct Parent {
1212
Child child;
1313
};
1414

1515
struct S {
16-
int x = 1;
17-
int y = 2;
16+
int x = 1;
17+
int y = 2;
1818
};
1919

20-
int main ()
21-
{
22-
std::atomic<S> s;
23-
s.store(S());
24-
std::atomic<int> i;
25-
i.store(5);
20+
int main() {
21+
std::atomic<S> s;
22+
s.store(S());
23+
std::atomic<int> i;
24+
i.store(5);
2625

27-
Parent p;
28-
// Let the child node know what its parent is.
29-
p.child.parent = &p;
26+
Parent p;
27+
// Let the child node know what its parent is.
28+
p.child.parent = &p;
3029

31-
return 0; // Set break point at this line.
30+
return 0; // Set break point at this line.
3231
}
33-

0 commit comments

Comments
 (0)