File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff 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};
1111struct Parent {
1212 Child child;
1313};
1414
1515struct 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-
You can’t perform that action at this time.
0 commit comments