diff --git a/CMakeLists.txt b/CMakeLists.txt index f737673..93a3491 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,7 @@ +# CMakeLists.txt -*-CMake-*- +# +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + cmake_minimum_required(VERSION 3.10) project(beman_iter_interface VERSION 0.0.0 LANGUAGES CXX) diff --git a/Makefile b/Makefile index b7083a8..f675d76 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ #! /usr/bin/make -f -# -*-makefile-*- +# /Makefile -*-makefile-*- +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception INSTALL_PREFIX?=.install/ PROJECT?=$(shell basename $(CURDIR)) diff --git a/README.md b/README.md index b062b00..4a2fcaf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # beman.iterator\_interface: iterator creation mechanisms + **Implements**: * [`std::iterator_interface` (P2727)](https://wg21.link/P2727) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index dd7dc39..0cb5c05 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,3 +1,7 @@ +# examples/CMakeLists.txt -*-CMake-*- +# +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + include(GNUInstallDirs) # List of all buildable examples. diff --git a/examples/README.md b/examples/README.md index 05a115e..d1de55e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,9 @@ # Beman.iterator Examples + + List of usage examples for `Beman.iterator`. ## Sample diff --git a/examples/sample.cpp b/examples/sample.cpp index f6dd24a..2e90a32 100644 --- a/examples/sample.cpp +++ b/examples/sample.cpp @@ -1,3 +1,6 @@ +// examples/sample.cpp -*-C++-*- +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include #include diff --git a/include/beman/iterator_interface/config.hpp.in b/include/beman/iterator_interface/config.hpp.in index ad99f47..30455a2 100644 --- a/include/beman/iterator_interface/config.hpp.in +++ b/include/beman/iterator_interface/config.hpp.in @@ -1,3 +1,6 @@ +// include/beman/iterator_interface/config.hpp.in -*-C++-*- +// 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/detail/stl_interfaces/config.hpp b/include/beman/iterator_interface/detail/stl_interfaces/config.hpp index 5c202f3..7126fd2 100644 --- a/include/beman/iterator_interface/detail/stl_interfaces/config.hpp +++ b/include/beman/iterator_interface/detail/stl_interfaces/config.hpp @@ -1,3 +1,4 @@ +// include/beman/iterator_interface/detail/stl_interfaces/config.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2020 T. Zachary Laine diff --git a/include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp b/include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp index b5be8b9..4dbbb05 100644 --- a/include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp +++ b/include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp @@ -1,3 +1,4 @@ +// include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2019 T. Zachary Laine diff --git a/include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp b/include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp index e850700..c4d29e7 100644 --- a/include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp +++ b/include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp @@ -1,3 +1,4 @@ +// include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2019 T. Zachary Laine diff --git a/include/beman/iterator_interface/iterator_interface.hpp b/include/beman/iterator_interface/iterator_interface.hpp index ed8022e..e1445d9 100644 --- a/include/beman/iterator_interface/iterator_interface.hpp +++ b/include/beman/iterator_interface/iterator_interface.hpp @@ -1,4 +1,6 @@ -// iterator_interface.hpp -*-C++-*- +// include/beman/iterator_interface/iterator_interface.hpp -*-C++-*- +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #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 0829405..989b5d0 100644 --- a/include/beman/iterator_interface/iterator_interface_access.hpp +++ b/include/beman/iterator_interface/iterator_interface_access.hpp @@ -1,3 +1,6 @@ +// include/beman/iterator_interface/iterator_interface_access.hpp -*-C++-*- +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #ifndef ITERATOR_INTERFACE_ACCESSS_HPP #define ITERATOR_INTERFACE_ACCESSS_HPP diff --git a/src/beman/iterator_interface/CMakeLists.txt b/src/beman/iterator_interface/CMakeLists.txt index 4ef996e..bcea9a3 100644 --- a/src/beman/iterator_interface/CMakeLists.txt +++ b/src/beman/iterator_interface/CMakeLists.txt @@ -1,3 +1,7 @@ +# src/beman/iterator_interface/CMakeLists.txt -*-CMake-*- +# +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + add_library(beman.iterator_interface) add_library(beman::iterator_interface ALIAS beman.iterator_interface) diff --git a/src/beman/iterator_interface/iterator_interface.cpp b/src/beman/iterator_interface/iterator_interface.cpp index dfcb8d4..5250763 100644 --- a/src/beman/iterator_interface/iterator_interface.cpp +++ b/src/beman/iterator_interface/iterator_interface.cpp @@ -1 +1,4 @@ +// src/beman/iterator_interface/iterator_interface.cpp -*-C++-*- +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include diff --git a/src/beman/iterator_interface/iterator_interface.t.cpp b/src/beman/iterator_interface/iterator_interface.t.cpp index 651778f..cc30017 100644 --- a/src/beman/iterator_interface/iterator_interface.t.cpp +++ b/src/beman/iterator_interface/iterator_interface.t.cpp @@ -1,4 +1,6 @@ -// iterator_interface.t.cpp -*-C++-*- +// src/beman/iterator_interface/iterator_interface.y.cpp -*-C++-*- +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include #include