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 a58dcc5e08665f2d58a28c9d4510cf94de6ed3bf
21923f92f0ea4169d5fea646221554d4c44e36f1 --
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h
clang/lib/StaticAnalyzer/Core/BugReporter.cpp
clang/lib/StaticAnalyzer/Core/BugSuppression.cpp
clang/test/Analysis/Checkers/WebKit/call-args.cpp
clang/test/Analysis/copypaste/suspicious-clones.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git
a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h
b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h
index 419752edbb..4f5d2d1082 100644
--- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h
+++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h
@@ -28,7 +28,7 @@ class PathDiagnosticLocation;
class BugSuppression {
public:
- BugSuppression(ASTContext &ACtx): ACtx(ACtx) {}
+ BugSuppression(ASTContext &ACtx) : ACtx(ACtx) {}
using DiagnosticIdentifierList = llvm::ArrayRef<llvm::StringRef>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/79398
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits