[clang] fix-149477-- Emit correct closure members for lambdas in CreateLimitedType (PR #149674)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 21 05:39:47 PDT 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 HEAD~1 HEAD --extensions cpp -- clang/lib/CodeGen/CGDebugInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index a8f9e3e02..081b038cc 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -4204,8 +4204,7 @@ llvm::DICompositeType *CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
RealDecl, Field->getName(), FieldFile, FieldLine,
CGM.getContext().getTypeSize(Field->getType()),
getTypeAlignIfRequired(Field->getType(), CGM.getContext()),
- FieldOffset,
- getAccessFlag(Field->getAccess()), FieldType);
+ FieldOffset, getAccessFlag(Field->getAccess()), FieldType);
EltTys.push_back(Elem);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/149674
More information about the cfe-commits
mailing list