[NFC] Normalize some test 'main' signatures
authorJF Bastien <jfbastien@apple.com>
Wed, 9 Jan 2019 22:56:45 +0000 (22:56 +0000)
committerJF Bastien <jfbastien@apple.com>
Wed, 9 Jan 2019 22:56:45 +0000 (22:56 +0000)
There were 3 tests with 'int main(void)', and 6 with the return type on a different line. I'm about to send a patch for main in tests, and this NFC change is unrelated.

llvm-svn: 350770

libcxx/test/std/containers/unord/unord.map/compare.pass.cpp
libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp
libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp
libcxx/test/std/re/re.alg/re.alg.match/parse_curly_brackets.pass.cpp
libcxx/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp
libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/nested.pass.cpp
libcxx/test/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp

index cffc1db..2761bf1 100644 (file)
@@ -33,8 +33,7 @@ namespace std
     };
 }
 
-int
-main()
+int main()
 {
     typedef std::unordered_map<Key, int> MapT;
     typedef MapT::iterator Iter;
index d9c5172..59673ec 100644 (file)
@@ -63,8 +63,7 @@ test4()
     assert((std::regex_match(target, smatch, regex)));
 }
 
-int
-main()
+int main()
 {
     test1();
     test2();
index 4dec67e..7b08f30 100644 (file)
@@ -184,8 +184,7 @@ struct test_signed : roundtrip_test_base<T>
     }
 };
 
-int
-main()
+int main()
 {
     run<test_basics>(integrals);
     run<test_signed>(all_signed);
index ddf614e..63891b1 100644 (file)
@@ -82,8 +82,7 @@ struct test_signed : to_chars_test_base<T>
     }
 };
 
-int
-main()
+int main()
 {
     run<test_basics>(integrals);
     run<test_signed>(all_signed);
index ce6dcf8..977d2b6 100644 (file)
@@ -26,8 +26,7 @@ struct X
     void operator()() {}
 };
 
-int
-main()
+int main()
 {
     X x;
     std::function<void()> f(x);