From dc82f5dc2267e676388bcbef3bf966fb2b19892b Mon Sep 17 00:00:00 2001 From: jichuan Date: Mon, 29 May 2023 10:57:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201.=E4=BF=AE=E6=94=B9OAT.xml=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=BF=87=E6=BB=A4jpg=E3=80=81gif=E3=80=81png=E7=AD=89?= =?UTF-8?q?=E5=9B=BE=E7=89=87;2.=E4=B8=BA.clang-format=E3=80=81.clang-tidy?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A2=9E=E5=8A=A0License=E5=92=8Ccopyright?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jichuan --- OAT.xml | 3 +++ trace_streamer/.clang-format | 12 ++++++++++++ trace_streamer/.clang-tidy | 13 +++++++++++++ 3 files changed, 28 insertions(+) diff --git a/OAT.xml b/OAT.xml index 961fd6b4..60c27912 100644 --- a/OAT.xml +++ b/OAT.xml @@ -79,6 +79,9 @@ Note:If the text contains special characters, please escape them according to th + + + diff --git a/trace_streamer/.clang-format b/trace_streamer/.clang-format index ad9f68d7..d3558133 100644 --- a/trace_streamer/.clang-format +++ b/trace_streamer/.clang-format @@ -1,3 +1,15 @@ +# Copyright (C) 2023 Huawei Device Co., Ltd. +# 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. Language: Cpp BasedOnStyle: LLVM # 访问说明符(public、private等)的偏移 diff --git a/trace_streamer/.clang-tidy b/trace_streamer/.clang-tidy index d8daf0d9..107459cd 100644 --- a/trace_streamer/.clang-tidy +++ b/trace_streamer/.clang-tidy @@ -1,4 +1,17 @@ --- +# Copyright (C) 2023 Huawei Device Co., Ltd. +# 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. + # Ref: https://releases.llvm.org/12.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/list.html Checks: > android-*, -- Gitee