diff --git a/.beman-tidy.yaml b/.beman-tidy.yaml new file mode 100644 index 0000000..41b5df4 --- /dev/null +++ b/.beman-tidy.yaml @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + +ignored_paths: + - include/beman/iterator_interface/detail/stl_interfaces/ diff --git a/.github/workflows/pre-commit-check.yml b/.github/workflows/pre-commit-check.yml index e22415c..4a4a462 100644 --- a/.github/workflows/pre-commit-check.yml +++ b/.github/workflows/pre-commit-check.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception name: Lint Check (pre-commit) on: diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 21c2849..48269b5 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md033.md # Disable inline html linter is needed for
MD033: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cbf059b..209fcdc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: diff --git a/cmake/CompilerFeatureTest.cmake b/cmake/CompilerFeatureTest.cmake index 9fed1ed..3cbf53e 100644 --- a/cmake/CompilerFeatureTest.cmake +++ b/cmake/CompilerFeatureTest.cmake @@ -1,6 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # cmake-format: off # cmake/CompilerFeatureTest.cmake -*-cmake-*- -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # cmake-format: on # Functions that determine compiler capabilities diff --git a/examples/filter_int_iterator.cpp b/examples/filter_int_iterator.cpp index 7a360fa..6ae73f8 100644 --- a/examples/filter_int_iterator.cpp +++ b/examples/filter_int_iterator.cpp @@ -1,5 +1,5 @@ -// examples/filter_int_iterator.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// examples/filter_int_iterator.cpp -*-C++-*- // [P2727](https://wg21.link/P2727) example: // An iterator that allows filtering int elements of a sequence. diff --git a/examples/repeated_chars_iterator.cpp b/examples/repeated_chars_iterator.cpp index fadc5dd..70c48db 100644 --- a/examples/repeated_chars_iterator.cpp +++ b/examples/repeated_chars_iterator.cpp @@ -1,5 +1,5 @@ -// examples/repeated_chars_iterator.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// examples/repeated_chars_iterator.cpp -*-C++-*- // [P2727](https://wg21.link/P2727) example: // An iterator that allows iterating over repetitions of a sequence of characters. diff --git a/include/beman/iterator_interface/config.hpp b/include/beman/iterator_interface/config.hpp index f823ff9..7c851e4 100644 --- a/include/beman/iterator_interface/config.hpp +++ b/include/beman/iterator_interface/config.hpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef BEMAN_ITERATOR_INTERFACE_CONFIG_HPP #define BEMAN_ITERATOR_INTERFACE_CONFIG_HPP diff --git a/include/beman/iterator_interface/iterator_interface.hpp b/include/beman/iterator_interface/iterator_interface.hpp index c8471a5..d5d4d65 100644 --- a/include/beman/iterator_interface/iterator_interface.hpp +++ b/include/beman/iterator_interface/iterator_interface.hpp @@ -1,5 +1,5 @@ -// include/beman/iterator_interface/iterator_interface.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// include/beman/iterator_interface/iterator_interface.hpp -*-C++-*- #ifndef INCLUDED_ITERATOR_INTERFACE #define INCLUDED_ITERATOR_INTERFACE diff --git a/include/beman/iterator_interface/iterator_interface_access.hpp b/include/beman/iterator_interface/iterator_interface_access.hpp index ea88d8e..9dc73d6 100644 --- a/include/beman/iterator_interface/iterator_interface_access.hpp +++ b/include/beman/iterator_interface/iterator_interface_access.hpp @@ -1,5 +1,5 @@ -// include/beman/iterator_interface/iterator_interface_access.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// include/beman/iterator_interface/iterator_interface_access.hpp -*-C++-*- #ifndef ITERATOR_INTERFACE_ACCESSS_HPP #define ITERATOR_INTERFACE_ACCESSS_HPP diff --git a/infra/.github/workflows/pre-commit.yml b/infra/.github/workflows/pre-commit.yml index 9646831..7051c13 100644 --- a/infra/.github/workflows/pre-commit.yml +++ b/infra/.github/workflows/pre-commit.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception name: Lint Check (pre-commit) on: diff --git a/infra/.pre-commit-config.yaml b/infra/.pre-commit-config.yaml index 8052e18..6fe1e85 100644 --- a/infra/.pre-commit-config.yaml +++ b/infra/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 diff --git a/infra/cmake/BuildTelemetry.cmake b/infra/cmake/BuildTelemetry.cmake index c2ff343..cc94f40 100755 --- a/infra/cmake/BuildTelemetry.cmake +++ b/infra/cmake/BuildTelemetry.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception include_guard(GLOBAL) include(${CMAKE_CURRENT_LIST_DIR}/BuildTelemetryConfig.cmake) diff --git a/infra/cmake/BuildTelemetryConfig.cmake b/infra/cmake/BuildTelemetryConfig.cmake index 15aae48..2160c34 100755 --- a/infra/cmake/BuildTelemetryConfig.cmake +++ b/infra/cmake/BuildTelemetryConfig.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception include_guard(GLOBAL) set(BUILD_TELEMETRY_DIR ${CMAKE_CURRENT_LIST_DIR}) diff --git a/infra/cmake/telemetry.sh b/infra/cmake/telemetry.sh index 323982e..123324e 100755 --- a/infra/cmake/telemetry.sh +++ b/infra/cmake/telemetry.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set -o nounset set -o errexit diff --git a/infra/cmake/use-fetch-content.cmake b/infra/cmake/use-fetch-content.cmake index 73594be..3c7136d 100644 --- a/infra/cmake/use-fetch-content.cmake +++ b/infra/cmake/use-fetch-content.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception cmake_minimum_required(VERSION 3.24) include(FetchContent) diff --git a/tests/beman/iterator_interface/iterator_interface.test.cpp b/tests/beman/iterator_interface/iterator_interface.test.cpp index 1edc550..6e54d39 100644 --- a/tests/beman/iterator_interface/iterator_interface.test.cpp +++ b/tests/beman/iterator_interface/iterator_interface.test.cpp @@ -1,5 +1,5 @@ -// tests/beman/iterator_interface/iterator_interfaces.test.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// tests/beman/iterator_interface/iterator_interfaces.test.cpp -*-C++-*- #include #include