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 eb9c49c900f43aa79811f80847c97c6596197430 
b97456af86580c7f2d4473fbc13d3e345f071486 --extensions cpp -- 
clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp 
llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp 
llvm/utils/TableGen/IntrinsicEmitter.cpp 
mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp 
mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp 
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp 
mlir/tools/mlir-tblgen/OpFormatGen.cpp mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/tools/mlir-tblgen/OpFormatGen.cpp 
b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index 5a863e31a6..82f8718fc5 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -1655,8 +1655,8 @@ void OperationFormat::genElementParser(FormatElement 
*element, MethodBody &body,
       TypeSwitch<FormatElement *>(dir->getArg())
           .Case<OperandVariable, ResultVariable>([&](auto operand) {
             body << formatv(parserCode,
-                             operand->getVar()->constraint.getCppType(),
-                             listName);
+                            operand->getVar()->constraint.getCppType(),
+                            listName);
           })
           .Default([&](auto operand) {
             body << formatv(parserCode, "::mlir::Type", listName);

``````````

</details>


https://github.com/llvm/llvm-project/pull/106454
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to