summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-29 00:55:22 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-29 00:55:22 +0000
commitd29b12ef7ca4a54c80493a9d3f9bb1dd7acb6934 (patch)
tree4276a17e8675a7e7b7849786ebd29b5c5545129a /libcxx
parent4159db7698d3d6aa5e0f2d920be3847716b05800 (diff)
downloadbcm5719-llvm-d29b12ef7ca4a54c80493a9d3f9bb1dd7acb6934.tar.gz
bcm5719-llvm-d29b12ef7ca4a54c80493a9d3f9bb1dd7acb6934.zip
[libcxx] [test] Make files consistently end with newlines, NFC.
llvm-svn: 309465
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/libcxx/algorithms/debug_less.pass.cpp2
-rw-r--r--libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp2
-rw-r--r--libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp2
-rw-r--r--libcxx/test/libcxx/type_traits/lazy_metafunctions.pass.cpp2
-rw-r--r--libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp2
-rw-r--r--libcxx/test/libcxx/utilities/tuple/tuple.tuple/diagnose_reference_binding.pass.cpp2
-rw-r--r--libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp2
-rw-r--r--libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp2
-rw-r--r--libcxx/test/std/experimental/string.view/string.view.cons/from_string1.fail.cpp2
-rw-r--r--libcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp2
-rw-r--r--libcxx/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp2
-rw-r--r--libcxx/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move_n.pass.cpp2
-rw-r--r--libcxx/test/support/test_convertible.hpp2
16 files changed, 16 insertions, 16 deletions
diff --git a/libcxx/test/libcxx/algorithms/debug_less.pass.cpp b/libcxx/test/libcxx/algorithms/debug_less.pass.cpp
index 2e875ff277c..e030f64e5dd 100644
--- a/libcxx/test/libcxx/algorithms/debug_less.pass.cpp
+++ b/libcxx/test/libcxx/algorithms/debug_less.pass.cpp
@@ -164,4 +164,4 @@ void test_failing() {
int main() {
test_passing();
test_failing();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp b/libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp
index 589af7cc453..6e25b0c3cbc 100644
--- a/libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp
+++ b/libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp
@@ -27,4 +27,4 @@ int main()
std::list<int> v2(3);
v1.insert(v2.begin(), 4);
assert(false);
-} \ No newline at end of file
+}
diff --git a/libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp b/libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp
index a98a9ccd2a8..aea46f10c9b 100644
--- a/libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp
+++ b/libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp
@@ -71,4 +71,4 @@ int main() {
assert(false);
} catch (int) {}
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/libcxx/type_traits/lazy_metafunctions.pass.cpp b/libcxx/test/libcxx/type_traits/lazy_metafunctions.pass.cpp
index 8f75080ab95..8cf47a03959 100644
--- a/libcxx/test/libcxx/type_traits/lazy_metafunctions.pass.cpp
+++ b/libcxx/test/libcxx/type_traits/lazy_metafunctions.pass.cpp
@@ -134,4 +134,4 @@ int main() {
LazyNotTest();
LazyAndTest();
LazyOrTest();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp b/libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp
index 803c501f8c9..58bb5fd1084 100644
--- a/libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp
+++ b/libcxx/test/libcxx/utilities/function.objects/func.require/bullet_4_5_6.pass.cpp
@@ -213,4 +213,4 @@ int main() {
TestCase<ArgType volatile>::run();
TestCase<ArgType const volatile>::run();
TestCase<ArgType*>::run();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/libcxx/utilities/tuple/tuple.tuple/diagnose_reference_binding.pass.cpp b/libcxx/test/libcxx/utilities/tuple/tuple.tuple/diagnose_reference_binding.pass.cpp
index a90a2912d3a..78446976431 100644
--- a/libcxx/test/libcxx/utilities/tuple/tuple.tuple/diagnose_reference_binding.pass.cpp
+++ b/libcxx/test/libcxx/utilities/tuple/tuple.tuple/diagnose_reference_binding.pass.cpp
@@ -68,4 +68,4 @@ int main() {
std::tuple<int const&> t4(std::allocator_arg, alloc, cr);
assert(&std::get<0>(t4) == &x);
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp
index a4d8abc7d31..e84301e9e71 100644
--- a/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp
+++ b/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/insert_or_assign.pass.cpp
@@ -189,4 +189,4 @@ int main()
assert(r->second.get() == 5); // value
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp b/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp
index eddfede2963..8cce9d293f9 100644
--- a/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp
+++ b/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/protected_members.fail.cpp
@@ -24,4 +24,4 @@ int main() {
m->do_allocate(0, 0); // expected-error{{'do_allocate' is a protected member}}
m->do_deallocate(nullptr, 0, 0); // expected-error{{'do_deallocate' is a protected member}}
m->do_is_equal(*m); // expected-error{{'do_is_equal' is a protected member}}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/experimental/string.view/string.view.cons/from_string1.fail.cpp b/libcxx/test/std/experimental/string.view/string.view.cons/from_string1.fail.cpp
index b2ffa61c29d..72e9dad83c8 100644
--- a/libcxx/test/std/experimental/string.view/string.view.cons/from_string1.fail.cpp
+++ b/libcxx/test/std/experimental/string.view/string.view.cons/from_string1.fail.cpp
@@ -29,4 +29,4 @@ int main () {
assert ( sv1.size() == s.size());
assert ( sv1.data() == s.data());
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp b/libcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp
index 0a19de919f7..ffb54ab4d2b 100644
--- a/libcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp
+++ b/libcxx/test/std/language.support/support.dynamic/align_val_t.pass.cpp
@@ -31,4 +31,4 @@ int main() {
static_assert(b == std::align_val_t(32), "");
static_assert(static_cast<std::size_t>(c) == (std::size_t)-1, "");
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp b/libcxx/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp
index 0f33dd87bca..006bea7498a 100644
--- a/libcxx/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp
+++ b/libcxx/test/std/strings/string.view/string.view.cons/from_string1.fail.cpp
@@ -29,4 +29,4 @@ int main () {
assert ( sv1.size() == s.size());
assert ( sv1.data() == s.data());
}
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp b/libcxx/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp
index aaac98474fc..9c3f24262ef 100644
--- a/libcxx/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp
+++ b/libcxx/test/std/utilities/function.objects/func.invoke/invoke_feature_test_macro.pass.cpp
@@ -36,4 +36,4 @@ int main() {
#if defined(__cpp_lib_invoke)
assert(std::invoke(foo, 101) == 42);
#endif
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp
index ad6a51500e3..319df229668 100644
--- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp
+++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp
@@ -112,4 +112,4 @@ int main()
{
test_counted();
test_value_initialized();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move.pass.cpp
index 6c535250fd1..d914129f2a4 100644
--- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move.pass.cpp
+++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move.pass.cpp
@@ -111,4 +111,4 @@ void test_counted()
int main() {
test_counted();
test_ctor_throws();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move_n.pass.cpp b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move_n.pass.cpp
index 4175c6bce68..4083bc367cf 100644
--- a/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move_n.pass.cpp
+++ b/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/uninitialized_move_n.pass.cpp
@@ -114,4 +114,4 @@ int main()
{
test_counted();
test_ctor_throws();
-} \ No newline at end of file
+}
diff --git a/libcxx/test/support/test_convertible.hpp b/libcxx/test/support/test_convertible.hpp
index 787cef6568f..e0d42f74ab8 100644
--- a/libcxx/test/support/test_convertible.hpp
+++ b/libcxx/test/support/test_convertible.hpp
@@ -39,4 +39,4 @@ template <class Tp, class ...Args>
constexpr bool test_convertible()
{ return detail::test_convertible_imp<Tp, Args...>(0); }
-#endif // SUPPORT_TEST_CONVERTIBLE_HPP \ No newline at end of file
+#endif // SUPPORT_TEST_CONVERTIBLE_HPP
OpenPOWER on IntegriCloud