1e5c31af7Sopenharmony_ci#!/bin/bash 2e5c31af7Sopenharmony_ci 3e5c31af7Sopenharmony_ci# Copyright 2020 The Amber Authors. 4e5c31af7Sopenharmony_ci# 5e5c31af7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 6e5c31af7Sopenharmony_ci# you may not use this file except in compliance with the License. 7e5c31af7Sopenharmony_ci# You may obtain a copy of the License at 8e5c31af7Sopenharmony_ci# 9e5c31af7Sopenharmony_ci# https://www.apache.org/licenses/LICENSE-2.0 10e5c31af7Sopenharmony_ci# 11e5c31af7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 12e5c31af7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 13e5c31af7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14e5c31af7Sopenharmony_ci# See the License for the specific language governing permissions and 15e5c31af7Sopenharmony_ci# limitations under the License. 16e5c31af7Sopenharmony_ci 17e5c31af7Sopenharmony_cifind src -name "*.h" -exec clang-format -i {} \; 18e5c31af7Sopenharmony_cifind src -name "*.cc" -exec clang-format -i {} \; 19e5c31af7Sopenharmony_cifind samples -name "*.h" -exec clang-format -i {} \; 20e5c31af7Sopenharmony_cifind samples -name "*.cc" -exec clang-format -i {} \; 21e5c31af7Sopenharmony_cifind include -name "*.h" -exec clang-format -i {} \; 22e5c31af7Sopenharmony_ci 23