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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits