From 98760c18f85bafd98dde7a309e1b0e677abd47d8 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 16 Jan 2014 16:58:45 +0000 Subject: [PATCH] Add license headers to a bunch of libc++ files that were missing them. No functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@199400 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/support/solaris/floatingpoint.h | 9 +++++++++ include/support/solaris/wchar.h | 9 +++++++++ include/support/solaris/xlocale.h | 9 +++++++++ src/support/solaris/xlocale.c | 8 ++++++++ test/containers/Copyable.h | 9 +++++++++ test/containers/Emplaceable.h | 9 +++++++++ test/containers/MoveOnly.h | 9 +++++++++ test/containers/NotConstructible.h | 9 +++++++++ test/containers/stack_allocator.h | 9 +++++++++ test/containers/test_compare.h | 9 +++++++++ test/containers/test_hash.h | 9 +++++++++ .../facet.num.get.members/test_min_max.pass.cpp | 9 +++++++++ test/strings/basic.string/input_iterator.h | 9 +++++++++ test/strings/basic.string/test_traits.h | 9 +++++++++ test/support/DefaultOnly.h | 9 +++++++++ test/support/allocators.h | 9 +++++++++ test/support/min_allocator.h | 9 +++++++++ test/support/private_constructor.hpp | 9 +++++++++ test/support/test_allocator.h | 9 +++++++++ test/support/test_iterators.h | 9 +++++++++ test/thread/futures/test_allocator.h | 9 +++++++++ .../arithmetic.operations/transparent.pass.cpp | 9 +++++++++ .../bitwise.operations/transparent.pass.cpp | 9 +++++++++ .../function.objects/comparisons/transparent.pass.cpp | 9 +++++++++ .../logical.operations/transparent.pass.cpp | 9 +++++++++ test/utilities/time/clock.h | 9 +++++++++ test/utilities/time/rep.h | 9 +++++++++ test/utilities/tuple/tuple.tuple/MoveOnly.h | 9 +++++++++ test/utilities/tuple/tuple.tuple/alloc_first.h | 9 +++++++++ test/utilities/tuple/tuple.tuple/alloc_last.h | 9 +++++++++ 30 files changed, 269 insertions(+) diff --git a/include/support/solaris/floatingpoint.h b/include/support/solaris/floatingpoint.h index 21b0349aa..999d144b1 100644 --- a/include/support/solaris/floatingpoint.h +++ b/include/support/solaris/floatingpoint.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #define atof sun_atof #define strtod sun_strtod #include_next "floatingpoint.h" diff --git a/include/support/solaris/wchar.h b/include/support/solaris/wchar.h index 05a724178..0e8e660c8 100644 --- a/include/support/solaris/wchar.h +++ b/include/support/solaris/wchar.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #define iswalpha sun_iswalpha #define iswupper sun_iswupper #define iswlower sun_iswlower diff --git a/include/support/solaris/xlocale.h b/include/support/solaris/xlocale.h index 359508d9f..875a39add 100644 --- a/include/support/solaris/xlocale.h +++ b/include/support/solaris/xlocale.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + //////////////////////////////////////////////////////////////////////////////// // Minimal xlocale implementation for Solaris. This implements the subset of // the xlocale APIs that libc++ depends on. diff --git a/src/support/solaris/xlocale.c b/src/support/solaris/xlocale.c index a2c1fa905..39dd8e368 100644 --- a/src/support/solaris/xlocale.c +++ b/src/support/solaris/xlocale.c @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// #ifdef __sun__ diff --git a/test/containers/Copyable.h b/test/containers/Copyable.h index 121cef618..9542c7e85 100644 --- a/test/containers/Copyable.h +++ b/test/containers/Copyable.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef COPYABLE_H #define COPYABLE_H diff --git a/test/containers/Emplaceable.h b/test/containers/Emplaceable.h index aab290a31..34dd32620 100644 --- a/test/containers/Emplaceable.h +++ b/test/containers/Emplaceable.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef EMPLACEABLE_H #define EMPLACEABLE_H diff --git a/test/containers/MoveOnly.h b/test/containers/MoveOnly.h index cbf80201a..e4d9f6495 100644 --- a/test/containers/MoveOnly.h +++ b/test/containers/MoveOnly.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef MOVEONLY_H #define MOVEONLY_H diff --git a/test/containers/NotConstructible.h b/test/containers/NotConstructible.h index 570500351..ac8b98ef9 100644 --- a/test/containers/NotConstructible.h +++ b/test/containers/NotConstructible.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef NOTCONSTRUCTIBLE_H #define NOTCONSTRUCTIBLE_H diff --git a/test/containers/stack_allocator.h b/test/containers/stack_allocator.h index e6af47381..d5fab025c 100644 --- a/test/containers/stack_allocator.h +++ b/test/containers/stack_allocator.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef STACK_ALLOCATOR_H #define STACK_ALLOCATOR_H diff --git a/test/containers/test_compare.h b/test/containers/test_compare.h index ba562868b..9c5479917 100644 --- a/test/containers/test_compare.h +++ b/test/containers/test_compare.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef TEST_COMPARE_H #define TEST_COMPARE_H diff --git a/test/containers/test_hash.h b/test/containers/test_hash.h index 95f6e9eb1..1a70e7cbd 100644 --- a/test/containers/test_hash.h +++ b/test/containers/test_hash.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef TEST_HASH_H #define TEST_HASH_H diff --git a/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp b/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp index c60ecc525..e474eca2f 100644 --- a/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp +++ b/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/strings/basic.string/input_iterator.h b/test/strings/basic.string/input_iterator.h index 37939a2e2..fa6bb80a1 100644 --- a/test/strings/basic.string/input_iterator.h +++ b/test/strings/basic.string/input_iterator.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef INPUT_ITERATOR_H #define INPUT_ITERATOR_H diff --git a/test/strings/basic.string/test_traits.h b/test/strings/basic.string/test_traits.h index 45268f721..f635b1d75 100644 --- a/test/strings/basic.string/test_traits.h +++ b/test/strings/basic.string/test_traits.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef TEST_TRAITS_H #define TEST_TRAITS_H diff --git a/test/support/DefaultOnly.h b/test/support/DefaultOnly.h index bdcf46d19..a3d4303f8 100644 --- a/test/support/DefaultOnly.h +++ b/test/support/DefaultOnly.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef DEFAULTONLY_H #define DEFAULTONLY_H diff --git a/test/support/allocators.h b/test/support/allocators.h index e5e0a1375..5372c0730 100644 --- a/test/support/allocators.h +++ b/test/support/allocators.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef ALLOCATORS_H #define ALLOCATORS_H diff --git a/test/support/min_allocator.h b/test/support/min_allocator.h index c0d28e5fa..f3f08caa5 100644 --- a/test/support/min_allocator.h +++ b/test/support/min_allocator.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef MIN_ALLOCATOR_H #define MIN_ALLOCATOR_H diff --git a/test/support/private_constructor.hpp b/test/support/private_constructor.hpp index 3f6f0d3d0..a9fcf6897 100644 --- a/test/support/private_constructor.hpp +++ b/test/support/private_constructor.hpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef __PRIVATE_CONSTRUCTOR__H #define __PRIVATE_CONSTRUCTOR__H diff --git a/test/support/test_allocator.h b/test/support/test_allocator.h index 3ec7f4788..99f72a053 100644 --- a/test/support/test_allocator.h +++ b/test/support/test_allocator.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef TEST_ALLOCATOR_H #define TEST_ALLOCATOR_H diff --git a/test/support/test_iterators.h b/test/support/test_iterators.h index 81f064d0c..5bd6df7e2 100644 --- a/test/support/test_iterators.h +++ b/test/support/test_iterators.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef ITERATORS_H #define ITERATORS_H diff --git a/test/thread/futures/test_allocator.h b/test/thread/futures/test_allocator.h index e04d43206..ea70ada63 100644 --- a/test/thread/futures/test_allocator.h +++ b/test/thread/futures/test_allocator.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef TEST_ALLOCATOR_H #define TEST_ALLOCATOR_H diff --git a/test/utilities/function.objects/arithmetic.operations/transparent.pass.cpp b/test/utilities/function.objects/arithmetic.operations/transparent.pass.cpp index 43e2e2120..72b4b4a0a 100644 --- a/test/utilities/function.objects/arithmetic.operations/transparent.pass.cpp +++ b/test/utilities/function.objects/arithmetic.operations/transparent.pass.cpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/test/utilities/function.objects/bitwise.operations/transparent.pass.cpp b/test/utilities/function.objects/bitwise.operations/transparent.pass.cpp index 91d263ed0..9f8e15dd5 100644 --- a/test/utilities/function.objects/bitwise.operations/transparent.pass.cpp +++ b/test/utilities/function.objects/bitwise.operations/transparent.pass.cpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/test/utilities/function.objects/comparisons/transparent.pass.cpp b/test/utilities/function.objects/comparisons/transparent.pass.cpp index 516b3644d..41ce4bcae 100644 --- a/test/utilities/function.objects/comparisons/transparent.pass.cpp +++ b/test/utilities/function.objects/comparisons/transparent.pass.cpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/test/utilities/function.objects/logical.operations/transparent.pass.cpp b/test/utilities/function.objects/logical.operations/transparent.pass.cpp index 5b3e1877c..6e3b7a2ee 100644 --- a/test/utilities/function.objects/logical.operations/transparent.pass.cpp +++ b/test/utilities/function.objects/logical.operations/transparent.pass.cpp @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/test/utilities/time/clock.h b/test/utilities/time/clock.h index ec99f26dd..c72470c9c 100644 --- a/test/utilities/time/clock.h +++ b/test/utilities/time/clock.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef CLOCK_H #define CLOCK_H diff --git a/test/utilities/time/rep.h b/test/utilities/time/rep.h index 59c58bbb7..2ec3514ab 100644 --- a/test/utilities/time/rep.h +++ b/test/utilities/time/rep.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef REP_H #define REP_H diff --git a/test/utilities/tuple/tuple.tuple/MoveOnly.h b/test/utilities/tuple/tuple.tuple/MoveOnly.h index cbf80201a..e4d9f6495 100644 --- a/test/utilities/tuple/tuple.tuple/MoveOnly.h +++ b/test/utilities/tuple/tuple.tuple/MoveOnly.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef MOVEONLY_H #define MOVEONLY_H diff --git a/test/utilities/tuple/tuple.tuple/alloc_first.h b/test/utilities/tuple/tuple.tuple/alloc_first.h index 948f2a499..237a2897e 100644 --- a/test/utilities/tuple/tuple.tuple/alloc_first.h +++ b/test/utilities/tuple/tuple.tuple/alloc_first.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef ALLOC_FIRST_H #define ALLOC_FIRST_H diff --git a/test/utilities/tuple/tuple.tuple/alloc_last.h b/test/utilities/tuple/tuple.tuple/alloc_last.h index e87cb2118..71a9b9e97 100644 --- a/test/utilities/tuple/tuple.tuple/alloc_last.h +++ b/test/utilities/tuple/tuple.tuple/alloc_last.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + #ifndef ALLOC_LAST_H #define ALLOC_LAST_H