github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp -- 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/chrono/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializerlist/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ranges/ref_view/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered_map-iterator/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/main.cpp
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/main.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
index 760d2384a..ee77a880a 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
@@ -6,28 +6,26 @@ struct Child {
   // This should point to the parent which in turn owns this
   // child instance. This cycle should not cause LLDB to infinite loop
   // during printing.
-  std::atomic<Parent*> parent{nullptr};
+  std::atomic<Parent *> parent{nullptr};
 };
 struct Parent {
   Child child;
 };
 
 struct S {
-    int x = 1;
-    int y = 2;
+  int x = 1;
+  int y = 2;
 };
 
-int main ()
-{
-    std::atomic<S> s;
-    s.store(S());
-    std::atomic<int> i;
-    i.store(5);
+int main() {
+  std::atomic<S> s;
+  s.store(S());
+  std::atomic<int> i;
+  i.store(5);
 
-    Parent p;
-    // Let the child node know what its parent is.
-    p.child.parent = &p;
+  Parent p;
+  // Let the child node know what its parent is.
+  p.child.parent = &p;
 
-    return 0; // Set break point at this line.
+  return 0; // Set break point at this line.
 }
-
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/main.cpp
index ef7c97470..86ab18fd9 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/main.cpp
@@ -1,51 +1,43 @@
 #include <functional>
 
-int foo(int x, int y) {
-  return x + y - 1;
-}
+int foo(int x, int y) { return x + y - 1; }
 
 struct Bar {
-   int operator()() {
-       return 66 ;
-   }
-   int add_num(int i) const { return i + 3 ; }
-   int add_num2(int i) {
-     std::function<int (int)> add_num2_f = [](int x) {
-         return x+1;
-      };
-
-      return add_num2_f(i); // Set break point at this line.
-   }
-} ;
+  int operator()() { return 66; }
+  int add_num(int i) const { return i + 3; }
+  int add_num2(int i) {
+    std::function<int(int)> add_num2_f = [](int x) { return x + 1; };
+
+    return add_num2_f(i); // Set break point at this line.
+  }
+};
 
 int foo2() {
-   auto f = [](int x) {
-       return x+1;
-   };
+  auto f = [](int x) { return x + 1; };
 
-   std::function<int (int)> foo2_f = f;
+  std::function<int(int)> foo2_f = f;
 
-   return foo2_f(10); // Set break point at this line.
+  return foo2_f(10); // Set break point at this line.
 }
 
-int main (int argc, char *argv[])
-{
+int main(int argc, char *argv[]) {
   int acc = 42;
-  std::function<int (int,int)> f1 = foo;
-  std::function<int (int)> f2 = [acc,f1] (int x) -> int {
-    return x+f1(acc,x);
+  std::function<int(int, int)> f1 = foo;
+  std::function<int(int)> f2 = [acc, f1](int x) -> int {
+    return x + f1(acc, x);
   };
 
   auto f = [](int x, int y) { return x + y; };
-  auto g = [](int x, int y) { return x * y; } ;
-  std::function<int (int,int)> f3 =  argc %2 ? f : g ;
+  auto g = [](int x, int y) { return x * y; };
+  std::function<int(int, int)> f3 = argc % 2 ? f : g;
 
-  Bar bar1 ;
-  std::function<int ()> f4( bar1 ) ;
-  std::function<int (const Bar&, int)> f5 = &Bar::add_num;
+  Bar bar1;
+  std::function<int()> f4(bar1);
+  std::function<int(const Bar &, int)> f5 = &Bar::add_num;
 
   int foo2_result = foo2();
   int bar_add_num2_result = bar1.add_num2(10);
 
-  return f1(acc,acc) + f2(acc) + f3(acc+1,acc+2) + f4() + f5(bar1, 10); // Set 
break point at this line.
+  return f1(acc, acc) + f2(acc) + f3(acc + 1, acc + 2) + f4() +
+         f5(bar1, 10); // Set break point at this line.
 }
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializerlist/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializerlist/main.cpp
index 88fe273ae..a9d159e0b 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializerlist/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializerlist/main.cpp
@@ -1,12 +1,11 @@
+#include <initializer_list>
 #include <string>
 #include <vector>
-#include <initializer_list>
 
-int main ()
-{
-    std::initializer_list<int> ili{1,2,3,4,5};
-    std::initializer_list<std::string> ils{"1","2","3","4","surprise it is a 
long string!! yay!!"};
-    
-    return 0; // Set break point at this line.
-}
+int main() {
+  std::initializer_list<int> ili{1, 2, 3, 4, 5};
+  std::initializer_list<std::string> ils{
+      "1", "2", "3", "4", "surprise it is a long string!! yay!!"};
 
+  return 0; // Set break point at this line.
+}
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/main.cpp
index 43ce6aeef..91bdf0b58 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/main.cpp
@@ -1,82 +1,80 @@
-#include <string>
 #include <map>
+#include <string>
 
-#define intint_map std::map<int, int> 
-#define strint_map std::map<std::string, int> 
-#define intstr_map std::map<int, std::string> 
-#define strstr_map std::map<std::string, std::string> 
+#define intint_map std::map<int, int>
+#define strint_map std::map<std::string, int>
+#define intstr_map std::map<int, std::string>
+#define strstr_map std::map<std::string, std::string>
 
 int g_the_foo = 0;
 
-int thefoo_rw(int arg = 1)
-{
-       if (arg < 0)
-               arg = 0;
-       if (!arg)
-               arg = 1;
-       g_the_foo += arg;
-       return g_the_foo;
+int thefoo_rw(int arg = 1) {
+  if (arg < 0)
+    arg = 0;
+  if (!arg)
+    arg = 1;
+  g_the_foo += arg;
+  return g_the_foo;
 }
 
-int main()
-{
-    intint_map ii;
-    
-    ii[0] = 0; // Set break point at this line.
-    ii[1] = 1;
-
-    intint_map::iterator it = ii.begin();
-    intint_map::const_iterator const_it = ii.cbegin();
-    std::printf("%d %d\n", it->second, const_it->second);
-
-    thefoo_rw(1); // Set break point at this line.
-    ii[2] = 0;
-    ii[3] = 1;
-       thefoo_rw(1);  // Set break point at this line.
-       ii[4] = 0;
-    ii[5] = 1;
-    ii[6] = 0;
-    ii[7] = 1;
-    thefoo_rw(1);  // Set break point at this line.
-    ii[85] = 1234567;
-
-    ii.clear();
-    
-    strint_map si;
-    thefoo_rw(1);  // Set break point at this line.
-       
-    si["zero"] = 0;
-       thefoo_rw(1);  // Set break point at this line.
-    si["one"] = 1;
-    si["two"] = 2;
-    si["three"] = 3;
-       thefoo_rw(1);  // Set break point at this line.
-    si["four"] = 4;
-
-    si.clear();
-    thefoo_rw(1);  // Set break point at this line.
-       
-    intstr_map is;
-    thefoo_rw(1);  // Set break point at this line.
-    is[85] = "goofy";
-    is[1] = "is";
-    is[2] = "smart";
-    is[3] = "!!!";
-    thefoo_rw(1);  // Set break point at this line.
-       
-    is.clear();
-    thefoo_rw(1);  // Set break point at this line.
-       
-    strstr_map ss;
-    thefoo_rw(1);  // Set break point at this line.
-       
-    ss["ciao"] = "hello";
-    ss["casa"] = "house";
-    ss["gatto"] = "cat";
-    thefoo_rw(1);  // Set break point at this line.
-    ss["a Mac.."] = "..is always a Mac!";
-    
-    ss.clear();
-    thefoo_rw(1);  // Set break point at this line.    
-    return 0;
+int main() {
+  intint_map ii;
+
+  ii[0] = 0; // Set break point at this line.
+  ii[1] = 1;
+
+  intint_map::iterator it = ii.begin();
+  intint_map::const_iterator const_it = ii.cbegin();
+  std::printf("%d %d\n", it->second, const_it->second);
+
+  thefoo_rw(1); // Set break point at this line.
+  ii[2] = 0;
+  ii[3] = 1;
+  thefoo_rw(1); // Set break point at this line.
+  ii[4] = 0;
+  ii[5] = 1;
+  ii[6] = 0;
+  ii[7] = 1;
+  thefoo_rw(1); // Set break point at this line.
+  ii[85] = 1234567;
+
+  ii.clear();
+
+  strint_map si;
+  thefoo_rw(1); // Set break point at this line.
+
+  si["zero"] = 0;
+  thefoo_rw(1); // Set break point at this line.
+  si["one"] = 1;
+  si["two"] = 2;
+  si["three"] = 3;
+  thefoo_rw(1); // Set break point at this line.
+  si["four"] = 4;
+
+  si.clear();
+  thefoo_rw(1); // Set break point at this line.
+
+  intstr_map is;
+  thefoo_rw(1); // Set break point at this line.
+  is[85] = "goofy";
+  is[1] = "is";
+  is[2] = "smart";
+  is[3] = "!!!";
+  thefoo_rw(1); // Set break point at this line.
+
+  is.clear();
+  thefoo_rw(1); // Set break point at this line.
+
+  strstr_map ss;
+  thefoo_rw(1); // Set break point at this line.
+
+  ss["ciao"] = "hello";
+  ss["casa"] = "house";
+  ss["gatto"] = "cat";
+  thefoo_rw(1); // Set break point at this line.
+  ss["a Mac.."] = "..is always a Mac!";
+
+  ss.clear();
+  thefoo_rw(1); // Set break point at this line.
+  return 0;
 }
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/main.cpp
index f3b5f3281..406b43791 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/main.cpp
@@ -2,8 +2,8 @@
 #include <vector>
 
 int main() {
-  std::queue<int> q1{{1,2,3,4,5}};
-  std::queue<int, std::vector<int>> q2{{1,2,3,4,5}};
+  std::queue<int> q1{{1, 2, 3, 4, 5}};
+  std::queue<int, std::vector<int>> q2{{1, 2, 3, 4, 5}};
   int ret = q1.size() + q2.size(); // break here
   return ret;
 }
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
index beb44cd96..1ef59bbc6 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
@@ -1,5 +1,5 @@
-#include <tuple>
 #include <string>
+#include <tuple>
 
 int main() {
   std::tuple<> empty;
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/main.cpp
index afdddf0bb..16e2ad614 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/main.cpp
@@ -15,7 +15,7 @@ struct NodeU {
 // representation when the type of the second element is an empty class. So
 // we need a deleter class with a dummy data member to trigger the other path.
 struct NonEmptyIntDeleter {
-  void operator()(int* ptr) { delete ptr; }
+  void operator()(int *ptr) { delete ptr; }
 
   int dummy_ = 9999;
 };
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/main.cpp
index 560ec692f..b136b05d3 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/main.cpp
@@ -3,7 +3,8 @@
 #include <vector>
 
 // If we have libc++ 4.0 or greater we should have <variant>
-// According to libc++ C++1z status page 
https://libcxx.llvm.org/cxx1z_status.html
+// According to libc++ C++1z status page
+// https://libcxx.llvm.org/cxx1z_status.html
 #if _LIBCPP_VERSION >= 4000
 #include <variant>
 #define HAVE_VARIANT 1
@@ -13,83 +14,80 @@
 
 struct S {
   operator int() { throw 42; }
-} ;
+};
 
+int main() {
+  bool has_variant = HAVE_VARIANT;
 
-int main()
-{
-    bool has_variant = HAVE_VARIANT ;
-
-    printf( "%d\n", has_variant ) ; // break here
+  printf("%d\n", has_variant); // break here
 
 #if HAVE_VARIANT == 1
-    std::variant<int, double, char> v1;
-    std::variant<int, double, char> &v1_ref = v1;
-    std::variant<int, double, char> v2;
-    std::variant<int, double, char> v3;
-    std::variant<std::variant<int,double,char>> v_v1 ;
-    std::variant<int, double, char> v_no_value;
-    // The next variant has 300 types, meaning the type index does not fit in
-    // a byte and must be `unsigned short` instead of `unsigned char` when
-    // using the unstable libc++ ABI. With stable libc++ ABI, the type index
-    // is always just `unsigned int`.
-    std::variant<
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int, int, int, int, int, int, int, int, int,
-        int, int, int, int, int, int>
-        v_300_types_no_value;
+  std::variant<int, double, char> v1;
+  std::variant<int, double, char> &v1_ref = v1;
+  std::variant<int, double, char> v2;
+  std::variant<int, double, char> v3;
+  std::variant<std::variant<int, double, char>> v_v1;
+  std::variant<int, double, char> v_no_value;
+  // The next variant has 300 types, meaning the type index does not fit in
+  // a byte and must be `unsigned short` instead of `unsigned char` when
+  // using the unstable libc++ ABI. With stable libc++ ABI, the type index
+  // is always just `unsigned int`.
+  std::variant<
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int,
+      int, int, int, int, int, int, int, int, int, int, int, int, int, int, 
int>
+      v_300_types_no_value;
 
-    v1 = 12; // v contains int
-    v_v1 = v1 ;
-    int i = std::get<int>(v1);
-    printf( "%d\n", i ); // break here
+  v1 = 12; // v contains int
+  v_v1 = v1;
+  int i = std::get<int>(v1);
+  printf("%d\n", i); // break here
 
-    v2 = 2.0 ;
-    double d = std::get<double>(v2) ;
-    printf( "%f\n", d );
+  v2 = 2.0;
+  double d = std::get<double>(v2);
+  printf("%f\n", d);
 
-    v3 = 'A' ;
-    char c = std::get<char>(v3) ;
-    printf( "%d\n", c );
+  v3 = 'A';
+  char c = std::get<char>(v3);
+  printf("%d\n", c);
 
-    // Checking v1 above and here to make sure we done maintain the incorrect
-    // state when we change its value.
-    v1 = 2.0;
-    d = std::get<double>(v1) ;
-    printf( "%f\n", d ); // break here
+  // Checking v1 above and here to make sure we done maintain the incorrect
+  // state when we change its value.
+  v1 = 2.0;
+  d = std::get<double>(v1);
+  printf("%f\n", d); // break here
 
-     try {
-       v_no_value.emplace<0>(S());
-     } catch( ... ) {}
+  try {
+    v_no_value.emplace<0>(S());
+  } catch (...) {
+  }
 
-     printf( "%zu\n", v_no_value.index() ) ;
+  printf("%zu\n", v_no_value.index());
 
-     try {
-       v_300_types_no_value.emplace<0>(S());
-     } catch (...) {
-     }
+  try {
+    v_300_types_no_value.emplace<0>(S());
+  } catch (...) {
+  }
 
-     printf("%zu\n", v_300_types_no_value.index());
+  printf("%zu\n", v_300_types_no_value.index());
 #endif
 
-    return 0; // break here
+  return 0; // break here
 }
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/main.cpp
index 026cfc863..0f0c65601 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/main.cpp
@@ -1,65 +1,64 @@
 #include <string>
 #include <vector>
 
-int main()
-{
-    std::vector<bool> vBool;
+int main() {
+  std::vector<bool> vBool;
 
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
 
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
 
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
 
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
 
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(false);
-    vBool.push_back(true);
-    vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
 
-    printf ("size: %d", (int) vBool.size()); // Set break point at this line.
-    return 0; 
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(false);
+  vBool.push_back(true);
+  vBool.push_back(true);
+
+  printf("size: %d", (int)vBool.size()); // Set break point at this line.
+  return 0;
 }
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/main.cpp
index 0e1dbe4f0..19cd1893b 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/main.cpp
@@ -7,35 +7,34 @@ typedef std::vector<std::string> string_vect;
 template <class T>
 void by_ref_and_ptr(std::vector<T> &ref, std::vector<T> *ptr) {
   // Stop here to check by ref
-  return;  
+  return;
 }
 
-int main()
-{
-    int_vect numbers;
-    (numbers.push_back(1));  // break here
-    (numbers.push_back(12));  // break here
-    (numbers.push_back(123));
-    (numbers.push_back(1234));
-    (numbers.push_back(12345)); // break here
-    (numbers.push_back(123456));
-    (numbers.push_back(1234567));
-    by_ref_and_ptr(numbers, &numbers);
-    
-    printf("break here");
-    numbers.clear();
-    
-    (numbers.push_back(7)); // break here
+int main() {
+  int_vect numbers;
+  (numbers.push_back(1));  // break here
+  (numbers.push_back(12)); // break here
+  (numbers.push_back(123));
+  (numbers.push_back(1234));
+  (numbers.push_back(12345)); // break here
+  (numbers.push_back(123456));
+  (numbers.push_back(1234567));
+  by_ref_and_ptr(numbers, &numbers);
 
-    string_vect strings;
-    (strings.push_back(std::string("goofy")));
-    (strings.push_back(std::string("is")));
-    (strings.push_back(std::string("smart")));
-    printf("break here");
-    (strings.push_back(std::string("!!!")));
-     
-    printf("break here");
-    strings.clear();
-    
-    return 0;  // break here
+  printf("break here");
+  numbers.clear();
+
+  (numbers.push_back(7)); // break here
+
+  string_vect strings;
+  (strings.push_back(std::string("goofy")));
+  (strings.push_back(std::string("is")));
+  (strings.push_back(std::string("smart")));
+  printf("break here");
+  (strings.push_back(std::string("!!!")));
+
+  printf("break here");
+  strings.clear();
+
+  return 0; // break here
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/146740
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to