[llvm] Correct lie in contract (PR #82517)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 10:26:51 PST 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 5488e3ea4869b32e82f7f7dfb3ba22cb7b5b9436 3f0835884362a3912457940cc32a35b0673add8f -- llvm/include/llvm/IR/GlobalVariable.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/IR/GlobalVariable.h b/llvm/include/llvm/IR/GlobalVariable.h
index d76db8463c..5108d5eec2 100644
--- a/llvm/include/llvm/IR/GlobalVariable.h
+++ b/llvm/include/llvm/IR/GlobalVariable.h
@@ -146,7 +146,7 @@ public:
     assert(hasInitializer() && "GV doesn't have initializer!");
     return static_cast<Constant*>(Op<0>().get());
   }
-  /// setInitializer - Sets the initializer for this global variable to 
+  /// setInitializer - Sets the initializer for this global variable to
   /// InitVal, which must be non-null.  If this GV has type T*, the
   /// initializer must have type T.
   void setInitializer(Constant *InitVal);

``````````

</details>


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


More information about the llvm-commits mailing list