summaryrefslogtreecommitdiff
path: root/asl
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-01 00:27:14 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-01 00:50:25 +0100
commit62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (patch)
tree7e1e0816dc3a82db8d3b01f7819940418fd60957 /asl
parenteb285643ed5dab8125e9c6bc94abd7ef562096a5 (diff)
Add BSD-3 license
Diffstat (limited to 'asl')
-rw-r--r--asl/base/BUILD.bazel4
-rw-r--r--asl/base/annotations.hpp4
-rw-r--r--asl/base/assert.cpp4
-rw-r--r--asl/base/assert.hpp4
-rw-r--r--asl/base/config.hpp4
-rw-r--r--asl/base/defer.hpp4
-rw-r--r--asl/base/defer_tests.cpp4
-rw-r--r--asl/base/float.hpp4
-rw-r--r--asl/base/float_tests.cpp4
-rw-r--r--asl/base/functional.hpp4
-rw-r--r--asl/base/functional_tests.cpp4
-rw-r--r--asl/base/integers.hpp4
-rw-r--r--asl/base/integers_tests.cpp4
-rw-r--r--asl/base/meta.hpp4
-rw-r--r--asl/base/meta_tests.cpp4
-rw-r--r--asl/base/utility.hpp4
-rw-r--r--asl/base/utility_tests.cpp4
-rw-r--r--asl/containers/BUILD.bazel4
-rw-r--r--asl/containers/buffer.hpp4
-rw-r--r--asl/containers/buffer_tests.cpp4
-rw-r--r--asl/containers/hash_map.hpp4
-rw-r--r--asl/containers/hash_map_tests.cpp4
-rw-r--r--asl/containers/hash_set.hpp4
-rw-r--r--asl/containers/hash_set_tests.cpp4
-rw-r--r--asl/containers/intrusive_list.hpp4
-rw-r--r--asl/containers/intrusive_list_tests.cpp4
-rw-r--r--asl/formatting/BUILD.bazel4
-rw-r--r--asl/formatting/format.cpp4
-rw-r--r--asl/formatting/format.hpp4
-rw-r--r--asl/formatting/format_float.cpp4
-rw-r--r--asl/formatting/format_tests.cpp4
-rw-r--r--asl/hashing/BUILD.bazel4
-rw-r--r--asl/hashing/hash.hpp4
-rw-r--r--asl/hashing/hash_tests.cpp4
-rw-r--r--asl/io/BUILD.bazel4
-rw-r--r--asl/io/print.cpp4
-rw-r--r--asl/io/print.hpp4
-rw-r--r--asl/io/writer.hpp4
-rw-r--r--asl/logging/BUILD.bazel4
-rw-r--r--asl/logging/logging.cpp4
-rw-r--r--asl/logging/logging.hpp4
-rw-r--r--asl/logging/logging_tests.cpp4
-rw-r--r--asl/memory/BUILD.bazel4
-rw-r--r--asl/memory/allocator.cpp4
-rw-r--r--asl/memory/allocator.hpp4
-rw-r--r--asl/memory/layout.hpp4
-rw-r--r--asl/memory/memory.hpp4
-rw-r--r--asl/strings/BUILD.bazel4
-rw-r--r--asl/strings/string.hpp4
-rw-r--r--asl/strings/string_builder.hpp4
-rw-r--r--asl/strings/string_builder_tests.cpp4
-rw-r--r--asl/strings/string_tests.cpp4
-rw-r--r--asl/strings/string_view.hpp4
-rw-r--r--asl/strings/string_view_tests.cpp4
-rw-r--r--asl/synchronization/BUILD.bazel4
-rw-r--r--asl/synchronization/atomic.hpp4
-rw-r--r--asl/testing/BUILD.bazel4
-rw-r--r--asl/testing/testing.cpp4
-rw-r--r--asl/testing/testing.hpp4
-rw-r--r--asl/tests/BUILD.bazel4
-rw-r--r--asl/tests/types.hpp4
-rw-r--r--asl/types/BUILD.bazel4
-rw-r--r--asl/types/box.hpp4
-rw-r--r--asl/types/box_tests.cpp4
-rw-r--r--asl/types/maybe_uninit.hpp4
-rw-r--r--asl/types/maybe_uninit_tests.cpp4
-rw-r--r--asl/types/option.hpp4
-rw-r--r--asl/types/option_tests.cpp4
-rw-r--r--asl/types/span.hpp4
-rw-r--r--asl/types/span_tests.cpp4
-rw-r--r--asl/types/status.cpp4
-rw-r--r--asl/types/status.hpp4
-rw-r--r--asl/types/status_or.hpp4
-rw-r--r--asl/types/status_or_tests.cpp4
-rw-r--r--asl/types/status_tests.cpp4
75 files changed, 300 insertions, 0 deletions
diff --git a/asl/base/BUILD.bazel b/asl/base/BUILD.bazel
index 3dc715b..cd05e00 100644
--- a/asl/base/BUILD.bazel
+++ b/asl/base/BUILD.bazel
@@ -1,3 +1,7 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
cc_library(
name = "base",
hdrs = [
diff --git a/asl/base/annotations.hpp b/asl/base/annotations.hpp
index b87dbde..ec17502 100644
--- a/asl/base/annotations.hpp
+++ b/asl/base/annotations.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/config.hpp"
diff --git a/asl/base/assert.cpp b/asl/base/assert.cpp
index c3e0c69..ecda20d 100644
--- a/asl/base/assert.cpp
+++ b/asl/base/assert.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/assert.hpp"
static asl::AssertFailureHandler* s_handler = nullptr;
diff --git a/asl/base/assert.hpp b/asl/base/assert.hpp
index d23e897..5aeb161 100644
--- a/asl/base/assert.hpp
+++ b/asl/base/assert.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/config.hpp"
diff --git a/asl/base/config.hpp b/asl/base/config.hpp
index e182569..a8652c5 100644
--- a/asl/base/config.hpp
+++ b/asl/base/config.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#if defined(_WIN32)
diff --git a/asl/base/defer.hpp b/asl/base/defer.hpp
index 122312a..bc5d078 100644
--- a/asl/base/defer.hpp
+++ b/asl/base/defer.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/utility.hpp"
diff --git a/asl/base/defer_tests.cpp b/asl/base/defer_tests.cpp
index 488350f..4c53f2c 100644
--- a/asl/base/defer_tests.cpp
+++ b/asl/base/defer_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/defer.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/base/float.hpp b/asl/base/float.hpp
index 2de2e0c..bd5e3c4 100644
--- a/asl/base/float.hpp
+++ b/asl/base/float.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/meta.hpp"
diff --git a/asl/base/float_tests.cpp b/asl/base/float_tests.cpp
index 0a5bebf..05ff467 100644
--- a/asl/base/float_tests.cpp
+++ b/asl/base/float_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/float.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/base/functional.hpp b/asl/base/functional.hpp
index b4b5312..9aeb485 100644
--- a/asl/base/functional.hpp
+++ b/asl/base/functional.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/meta.hpp"
diff --git a/asl/base/functional_tests.cpp b/asl/base/functional_tests.cpp
index 991c3c1..5e7b052 100644
--- a/asl/base/functional_tests.cpp
+++ b/asl/base/functional_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/functional.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/base/integers.hpp b/asl/base/integers.hpp
index c18c850..4580509 100644
--- a/asl/base/integers.hpp
+++ b/asl/base/integers.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/config.hpp"
diff --git a/asl/base/integers_tests.cpp b/asl/base/integers_tests.cpp
index 52feb85..4a25ae2 100644
--- a/asl/base/integers_tests.cpp
+++ b/asl/base/integers_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/integers.hpp"
static_assert(sizeof(int8_t) == 1);
diff --git a/asl/base/meta.hpp b/asl/base/meta.hpp
index bbe5547..b798eeb 100644
--- a/asl/base/meta.hpp
+++ b/asl/base/meta.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/integers.hpp"
diff --git a/asl/base/meta_tests.cpp b/asl/base/meta_tests.cpp
index 99cc6c0..774f9bc 100644
--- a/asl/base/meta_tests.cpp
+++ b/asl/base/meta_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/meta.hpp"
#include "asl/tests/types.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/base/utility.hpp b/asl/base/utility.hpp
index b8e13ae..63f16b1 100644
--- a/asl/base/utility.hpp
+++ b/asl/base/utility.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/meta.hpp"
diff --git a/asl/base/utility_tests.cpp b/asl/base/utility_tests.cpp
index 8fd6479..20cdf97 100644
--- a/asl/base/utility_tests.cpp
+++ b/asl/base/utility_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/base/utility.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/containers/BUILD.bazel b/asl/containers/BUILD.bazel
index 792b812..feb5711 100644
--- a/asl/containers/BUILD.bazel
+++ b/asl/containers/BUILD.bazel
@@ -1,3 +1,7 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
cc_library(
name = "buffer",
hdrs = [
diff --git a/asl/containers/buffer.hpp b/asl/containers/buffer.hpp
index 3954d35..8bdb63e 100644
--- a/asl/containers/buffer.hpp
+++ b/asl/containers/buffer.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/meta.hpp"
diff --git a/asl/containers/buffer_tests.cpp b/asl/containers/buffer_tests.cpp
index fd8ad45..23fe5af 100644
--- a/asl/containers/buffer_tests.cpp
+++ b/asl/containers/buffer_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/containers/buffer.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/containers/hash_map.hpp b/asl/containers/hash_map.hpp
index a59e580..77e5512 100644
--- a/asl/containers/hash_map.hpp
+++ b/asl/containers/hash_map.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/utility.hpp"
diff --git a/asl/containers/hash_map_tests.cpp b/asl/containers/hash_map_tests.cpp
index 6cb7fe1..9652e2f 100644
--- a/asl/containers/hash_map_tests.cpp
+++ b/asl/containers/hash_map_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/testing/testing.hpp"
#include "asl/containers/hash_map.hpp"
diff --git a/asl/containers/hash_set.hpp b/asl/containers/hash_set.hpp
index 97a37f2..6c46aac 100644
--- a/asl/containers/hash_set.hpp
+++ b/asl/containers/hash_set.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/annotations.hpp"
diff --git a/asl/containers/hash_set_tests.cpp b/asl/containers/hash_set_tests.cpp
index 2baab94..d9462d5 100644
--- a/asl/containers/hash_set_tests.cpp
+++ b/asl/containers/hash_set_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/containers/hash_set.hpp"
#include "asl/testing/testing.hpp"
#include "asl/tests/types.hpp"
diff --git a/asl/containers/intrusive_list.hpp b/asl/containers/intrusive_list.hpp
index 99509b8..ce0c133 100644
--- a/asl/containers/intrusive_list.hpp
+++ b/asl/containers/intrusive_list.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/meta.hpp"
diff --git a/asl/containers/intrusive_list_tests.cpp b/asl/containers/intrusive_list_tests.cpp
index 373913c..5d2d97b 100644
--- a/asl/containers/intrusive_list_tests.cpp
+++ b/asl/containers/intrusive_list_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/containers/intrusive_list.hpp"
#include "asl/testing/testing.hpp"
diff --git a/asl/formatting/BUILD.bazel b/asl/formatting/BUILD.bazel
index cab293e..836585e 100644
--- a/asl/formatting/BUILD.bazel
+++ b/asl/formatting/BUILD.bazel
@@ -1,3 +1,7 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
cc_library(
name = "formatting",
hdrs = [
diff --git a/asl/formatting/format.cpp b/asl/formatting/format.cpp
index 0c52c1b..4f35a52 100644
--- a/asl/formatting/format.cpp
+++ b/asl/formatting/format.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/formatting/format.hpp"
#include "asl/base/utility.hpp"
#include "asl/base/assert.hpp"
diff --git a/asl/formatting/format.hpp b/asl/formatting/format.hpp
index 02f43eb..c3a1f94 100644
--- a/asl/formatting/format.hpp
+++ b/asl/formatting/format.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/integers.hpp"
diff --git a/asl/formatting/format_float.cpp b/asl/formatting/format_float.cpp
index fb37064..aa113c6 100644
--- a/asl/formatting/format_float.cpp
+++ b/asl/formatting/format_float.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/formatting/format.hpp"
#include "asl/base/float.hpp"
diff --git a/asl/formatting/format_tests.cpp b/asl/formatting/format_tests.cpp
index 96ed7d0..0e83ee1 100644
--- a/asl/formatting/format_tests.cpp
+++ b/asl/formatting/format_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/formatting/format.hpp"
#include "asl/testing/testing.hpp"
#include "asl/base/float.hpp"
diff --git a/asl/hashing/BUILD.bazel b/asl/hashing/BUILD.bazel
index 6b9b410..18be389 100644
--- a/asl/hashing/BUILD.bazel
+++ b/asl/hashing/BUILD.bazel
@@ -1,3 +1,7 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
cc_library(
name = "hashing",
hdrs = [
diff --git a/asl/hashing/hash.hpp b/asl/hashing/hash.hpp
index 60550d0..d4b0910 100644
--- a/asl/hashing/hash.hpp
+++ b/asl/hashing/hash.hpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#pragma once
#include "asl/base/integers.hpp"
diff --git a/asl/hashing/hash_tests.cpp b/asl/hashing/hash_tests.cpp
index 9efb497..e4e69bf 100644
--- a/asl/hashing/hash_tests.cpp
+++ b/asl/hashing/hash_tests.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/testing/testing.hpp"
#include "asl/hashing/hash.hpp"
#include "asl/strings/string_view.hpp"
diff --git a/asl/io/BUILD.bazel b/asl/io/BUILD.bazel
index b37787c..b25f2fe 100644
--- a/asl/io/BUILD.bazel
+++ b/asl/io/BUILD.bazel
@@ -1,3 +1,7 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
cc_library(
name = "writer",
hdrs = [
diff --git a/asl/io/print.cpp b/asl/io/print.cpp
index 0161bd1..5b48eef 100644
--- a/asl/io/print.cpp
+++ b/asl/io/print.cpp
@@ -1,3 +1,7 @@
+// Copyright 2025 Steven Le Rouzic
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
#include "asl/io/print.hpp"
#include <cstdio>
diff --git a/asl/io/print.hpp b/asl/io/print.hpp
index a1899a8..b066609 100644
--- a/