aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Clayton <bclayton@google.com>2020-07-20 18:40:45 +0100
committerBen Clayton <bclayton@google.com>2020-07-22 17:27:28 +0100
commite0e328a4d7e598a01ee06e0cc8c25c8867a63f1d (patch)
tree0ba85af27a64af68d8a7069344b9e313b5fdfd4a /tools
parentce09904e592e4e0f9f875fcc690142ebdfbbe6af (diff)
downloadamber-e0e328a4d7e598a01ee06e0cc8c25c8867a63f1d.tar.gz
Add missing license headers
Diffstat (limited to 'tools')
-rwxr-xr-xtools/format14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/format b/tools/format
index 867f99d..5c2a87a 100755
--- a/tools/format
+++ b/tools/format
@@ -1,5 +1,19 @@
#!/bin/bash
+# Copyright 2020 The Amber Authors.
+#
+# 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
+#
+# https://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.
+
find src -name "*.h" -exec clang-format -i {} \;
find src -name "*.cc" -exec clang-format -i {} \;
find samples -name "*.h" -exec clang-format -i {} \;