[clang] [analyzer] Modernize FuchsiaHandleChecker (PR #111588)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 9 07:53:24 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 91fdfec263ff2b8e88433c4294a550cabb0f2314 d4df259bb3cf88d1540b836a6aaa7622751b0287 --extensions cpp -- clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp clang/test/Analysis/fuchsia_handle.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
index 0bb19ca7a6..89687c0ebd 100644
--- a/clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
@@ -510,10 +510,10 @@ bool FuchsiaHandleChecker::evalCall(const CallEvent &Call,
}
return "";
});
- }
+}
- C.addTransition(State, T);
- return true;
+C.addTransition(State, T);
+return true;
}
void FuchsiaHandleChecker::checkPreCall(const CallEvent &Call,
``````````
</details>
https://github.com/llvm/llvm-project/pull/111588
More information about the cfe-commits
mailing list