[llvm] [SelectionDAG] Use uintptr_t for ResNo in SDValue. (PR #104660)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 19:51:10 PDT 2024


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 6e0fc155782ff5307245a85c7b037a2998ec6c86 6c8520777908667de7d430cede28cc79ed973dde --extensions h -- llvm/include/llvm/CodeGen/SelectionDAGNodes.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index dc3bb63580..bbb5166d18 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -146,7 +146,7 @@ class SDValue {
   friend struct DenseMapInfo<SDValue>;
 
   SDNode *Node = nullptr; // The node defining the value we are using.
-  uintptr_t ResNo = 0;       // Which return value of the node we are using.
+  uintptr_t ResNo = 0;    // Which return value of the node we are using.
 
 public:
   SDValue() = default;

``````````

</details>


https://github.com/llvm/llvm-project/pull/104660


More information about the llvm-commits mailing list