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 511a1957258a16157e38f1a49e3de04e82ef001d
0c49ae55b4b05a9c701288f106c138cab4af37f0 --
clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
clang/lib/CodeGen/CGDebugInfo.cpp clang/lib/CodeGen/CGDebugInfo.h
clang/lib/CodeGen/CGExprScalar.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 d3b754d14b..7046394036 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -5786,12 +5786,12 @@ void CGDebugInfo::EmitPseudoVariable(CGBuilderTy
&Builder,
InsertBefore = InsertBB->size() > 0 ? &(InsertBB->front()) : nullptr;
}
- llvm::DILocalVariable *D = DBuilder.createAutoVariable(
- LexicalBlockStack.back(), "", nullptr, 0, Type, false,
- llvm::DINode::FlagArtificial);
+ llvm::DILocalVariable *D =
+ DBuilder.createAutoVariable(LexicalBlockStack.back(), "", nullptr, 0,
+ Type, false, llvm::DINode::FlagArtificial);
if (InsertBefore)
DBuilder.insertDbgValueIntrinsic(Value, D, DBuilder.createExpression(),
DIL,
- InsertBefore);
+ InsertBefore);
else
DBuilder.insertDbgValueIntrinsic(Value, D, DBuilder.createExpression(),
DIL,
InsertBB);
``````````
</details>
https://github.com/llvm/llvm-project/pull/95298
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits