From ade32237dcf5546f7a33620d99895685c4c66ebc Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Sat, 5 Aug 2017 00:44:24 +0000 Subject: [PATCH] [libcxx] [test] Fix URLs in comments and make them HTTPS. NFC. llvm-svn: 310156 --- .../PR30202_notify_from_pthread_created_thread.pass.cpp | 2 +- libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp | 2 +- libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp | 2 +- libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp | 2 +- libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp | 2 +- .../util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp | 2 +- libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp | 2 +- libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp | 2 +- libcxx/test/support/platform_support.h | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp b/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp index de225fe..7463b78 100644 --- a/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp +++ b/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp @@ -20,7 +20,7 @@ // notify_all_at_thread_exit(condition_variable& cond, unique_lock lk); // Test that this function works with threads that were not created by -// std::thread. See http://llvm.org/PR30202. +// std::thread. See: https://bugs.llvm.org/show_bug.cgi?id=30202 #include diff --git a/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp b/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp index 5e3ad4d..f92fd88 100644 --- a/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp +++ b/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp @@ -95,7 +95,7 @@ int main() assert((*i2).position() == 0); assert((*i2).str() == "555-1234"); } - { // http://llvm.org/PR33681 + { // https://bugs.llvm.org/show_bug.cgi?id=33681 std::regex rex(".*"); const char foo[] = "foo"; // The -1 is because we don't want the implicit null from the array. diff --git a/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp b/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp index 9acdd1a..1189f35 100644 --- a/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp +++ b/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp @@ -21,7 +21,7 @@ // async(launch policy, F&& f, Args&&... args); // This test is designed to cause and allow TSAN to detect the race condition -// reported in PR23293. (http://llvm.org/PR23293). +// reported in PR23293: https://bugs.llvm.org/show_bug.cgi?id=23293 #include #include diff --git a/libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp b/libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp index aa8eb39..1543f3d 100644 --- a/libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp @@ -587,7 +587,7 @@ void call_operator_noexcept_test() } void test_lwg2767() { - // See http://wg21.link/LWG2767 + // See https://cplusplus.github.io/LWG/lwg-defects.html#2767 struct Abstract { virtual void f() const = 0; }; struct Derived : public Abstract { void f() const {} }; struct F { bool operator()(Abstract&&) { return false; } }; diff --git a/libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp b/libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp index ed173f2..72011f4 100644 --- a/libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp @@ -13,7 +13,7 @@ // Hashing a struct w/o a defined hash should *not* fail, but it should // create a type that is not constructible and not callable. -// See also: http://cplusplus.github.io/LWG/lwg-active.html#2543 +// See also: https://cplusplus.github.io/LWG/lwg-defects.html#2543 #include #include diff --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp index 67de14c5..30a4933 100644 --- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp +++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp @@ -84,7 +84,7 @@ int main() assert(a1.use_count() == 1); } // Test LWG issue 2529. Only reset '__weak_ptr_' when it's already expired. - // http://cplusplus.github.io/LWG/lwg-active.html#2529. + // https://cplusplus.github.io/LWG/lwg-defects.html#2529 // Test two different ways: // * Using 'weak_from_this().expired()' in C++17. // * Using 'shared_from_this()' in all dialects. diff --git a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp index d1b974c..811dfc0 100644 --- a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp @@ -29,5 +29,5 @@ int main () { } // Smart pointers of type 'T[N]' are not tested here since they are not // supported by the standard nor by libc++'s implementation. - // See http://reviews.llvm.org/D21320 for more information. + // See https://reviews.llvm.org/D21320 for more information. } diff --git a/libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp b/libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp index 316f2d2..c0db967 100644 --- a/libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp +++ b/libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp @@ -300,7 +300,7 @@ void test_exceptions() { #endif } -// See http://llvm.org/PR31916 +// See https://bugs.llvm.org/show_bug.cgi?id=31916 void test_caller_accepts_nonconst() { struct A {}; struct Visitor { diff --git a/libcxx/test/support/platform_support.h b/libcxx/test/support/platform_support.h index a9b5b98..020cdbf 100644 --- a/libcxx/test/support/platform_support.h +++ b/libcxx/test/support/platform_support.h @@ -18,7 +18,7 @@ // locale names #ifdef _WIN32 // WARNING: Windows does not support UTF-8 codepages. -// Locales are "converted" using http://docs.moodle.org/dev/Table_of_locales +// Locales are "converted" using https://docs.moodle.org/dev/Table_of_locales #define LOCALE_en_US "en-US" #define LOCALE_en_US_UTF_8 "en-US" #define LOCALE_cs_CZ_ISO8859_2 "cs-CZ" -- 2.7.4