From 9fed33d9f45505a418f1d8ac628259cc1c519ce3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Jul 2024 19:59:33 +0000 Subject: [PATCH] Committing clang-format changes --- .../tensorwrapper/allocator/allocator_base.hpp | 16 ++++++++++++++++ include/tensorwrapper/allocator/eigen.hpp | 16 ++++++++++++++++ include/tensorwrapper/allocator/local.hpp | 16 ++++++++++++++++ include/tensorwrapper/allocator/replicated.hpp | 16 ++++++++++++++++ .../detail_/unique_ptr_utilities.hpp | 16 ++++++++++++++++ src/tensorwrapper/allocator/eigen.cpp | 16 ++++++++++++++++ .../unit_tests/tensorwrapper/allocator/eigen.cpp | 16 ++++++++++++++++ .../detail_/unique_ptr_utilities.cpp | 16 ++++++++++++++++ 8 files changed, 128 insertions(+) diff --git a/include/tensorwrapper/allocator/allocator_base.hpp b/include/tensorwrapper/allocator/allocator_base.hpp index aade1915..d918716d 100644 --- a/include/tensorwrapper/allocator/allocator_base.hpp +++ b/include/tensorwrapper/allocator/allocator_base.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include #include diff --git a/include/tensorwrapper/allocator/eigen.hpp b/include/tensorwrapper/allocator/eigen.hpp index 4ed1004e..d6503df2 100644 --- a/include/tensorwrapper/allocator/eigen.hpp +++ b/include/tensorwrapper/allocator/eigen.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include #include diff --git a/include/tensorwrapper/allocator/local.hpp b/include/tensorwrapper/allocator/local.hpp index b07f1726..c9a82118 100644 --- a/include/tensorwrapper/allocator/local.hpp +++ b/include/tensorwrapper/allocator/local.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/include/tensorwrapper/allocator/replicated.hpp b/include/tensorwrapper/allocator/replicated.hpp index 8336b8bd..be537aae 100644 --- a/include/tensorwrapper/allocator/replicated.hpp +++ b/include/tensorwrapper/allocator/replicated.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/include/tensorwrapper/detail_/unique_ptr_utilities.hpp b/include/tensorwrapper/detail_/unique_ptr_utilities.hpp index 4b8a4fa6..2e18885e 100644 --- a/include/tensorwrapper/detail_/unique_ptr_utilities.hpp +++ b/include/tensorwrapper/detail_/unique_ptr_utilities.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/src/tensorwrapper/allocator/eigen.cpp b/src/tensorwrapper/allocator/eigen.cpp index f0ea92bc..96f7c035 100644 --- a/src/tensorwrapper/allocator/eigen.cpp +++ b/src/tensorwrapper/allocator/eigen.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include diff --git a/tests/cxx/unit_tests/tensorwrapper/allocator/eigen.cpp b/tests/cxx/unit_tests/tensorwrapper/allocator/eigen.cpp index c39d92ee..7924928f 100644 --- a/tests/cxx/unit_tests/tensorwrapper/allocator/eigen.cpp +++ b/tests/cxx/unit_tests/tensorwrapper/allocator/eigen.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "../helpers.hpp" #include #include diff --git a/tests/cxx/unit_tests/tensorwrapper/detail_/unique_ptr_utilities.cpp b/tests/cxx/unit_tests/tensorwrapper/detail_/unique_ptr_utilities.cpp index 52ecd329..ed9030d3 100644 --- a/tests/cxx/unit_tests/tensorwrapper/detail_/unique_ptr_utilities.cpp +++ b/tests/cxx/unit_tests/tensorwrapper/detail_/unique_ptr_utilities.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 NWChemEx-Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include