[clang] [analyzer][NFC] Remove check::BranchCondition from debug.DumpTraversal (PR #113906)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 06:13:08 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 0cbccb13d6757b0ea7f2a7f29bb598e1935bcf37 003236dd68aee99a0b53b93a4c3406a44fec0085 --extensions cpp -- clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
index 9027fa3f4d..a5fb39be04 100644
--- a/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
@@ -26,8 +26,8 @@ namespace {
 // TODO: This checker is only referenced from two small test files and it
 // doesn't seem to be useful for manual debugging, so consider reimplementing
 // those tests with more modern tools and removing this checker.
-class TraversalDumper : public Checker< check::BeginFunction,
-                                        check::EndFunction > {
+class TraversalDumper
+    : public Checker<check::BeginFunction, check::EndFunction> {
 public:
   void checkBeginFunction(CheckerContext &C) const;
   void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;

``````````

</details>


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


More information about the cfe-commits mailing list