[clang] [clang] run clang-format on some CGObjC files (PR #126644)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 09:57:48 PST 2025
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 c7995a6905f2320f280013454676f992a8c6f89f 754f34dcab55685f12993fdfbd5a6c7cafdb1885 --extensions h,cpp -- clang/include/clang/AST/Mangle.h clang/lib/CodeGen/CGObjCMac.cpp clang/lib/CodeGen/CGObjCRuntime.h clang/lib/CodeGen/CodeGenFunction.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index f7ecd240c9..82a68e0c3d 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -5396,7 +5396,7 @@ IvarLayoutBuilder::buildBitmap(CGObjCCommonMac &CGObjC,
// skip forward.
if (beginOfScanInWords > endOfLastScanInWords) {
skip(beginOfScanInWords - endOfLastScanInWords);
-
+
// Otherwise, start scanning where the last left off.
} else {
beginOfScanInWords = endOfLastScanInWords;
``````````
</details>
https://github.com/llvm/llvm-project/pull/126644
More information about the cfe-commits
mailing list