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 97b989b27496d5aeadb3b90cbb9305ddcd9e35d2
78e3102b83809486fd6b4f255a2e77b59bc4ad0e --
clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.cpp
clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.h
clang-tools-extra/test/clang-tidy/checkers/misc/coroutine-suspension-hostile.cpp
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.h
b/clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.h
index cd61523b6561..ab3cedc84bf6 100644
--- a/clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.h
+++ b/clang-tools-extra/clang-tidy/misc/CoroutineHostileRAIICheck.h
@@ -1,4 +1,5 @@
-//===--- CoroutineHostileRAIICheck.h - clang-tidy -----------------*- C++
-*-===//
+//===--- CoroutineHostileRAIICheck.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.
@@ -22,8 +23,7 @@ namespace clang::tidy::misc {
///
http://clang.llvm.org/extra/clang-tidy/checks/misc/coroutine-hostile-check.html
class CoroutineHostileRAIICheck : public ClangTidyCheck {
public:
- CoroutineHostileRAIICheck(llvm::StringRef Name,
- ClangTidyContext *Context);
+ CoroutineHostileRAIICheck(llvm::StringRef Name, ClangTidyContext *Context);
bool isLanguageVersionSupported(const LangOptions &LangOpts) const override {
return LangOpts.CPlusPlus20;
``````````
</details>
https://github.com/llvm/llvm-project/pull/68738
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits