[clang-tools-extra] [clang-tidy] (PR #99713)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 14:49:28 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 837d606458f014ceed1b5d4504909f32b83362a8 dc9d737e978093505c7de44b1d29f731d837983c --extensions h,cpp -- clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.cpp clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.h clang-tools-extra/test/clang-tidy/checkers/modernize/use-cpp-style-comments.cpp clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.cpp
index f4d3bbce9f..de55ca903e 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.cpp
@@ -1,4 +1,5 @@
-//===--- UseCppStyleCommentsCheck.cpp - clang-tidy-----------------------*- C++ -*-===//
+//===--- UseCppStyleCommentsCheck.cpp - clang-tidy-----------------------*- C++
+//-*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
diff --git a/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.h b/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.h
index 81b0fdeb01..db9674284b 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.h
+++ b/clang-tools-extra/clang-tidy/modernize/UseCppStyleCommentsCheck.h
@@ -1,4 +1,5 @@
-//===--- UseCppStyleCommentsCheck.h - clang-tidy---------------------*- C++ -*-===//
+//===--- UseCppStyleCommentsCheck.h - clang-tidy---------------------*- C++
+//-*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


https://github.com/llvm/llvm-project/pull/99713


More information about the cfe-commits mailing list