[llvm] [llvm] Proofread ProgrammersManual.rst (PR #151853)

Tim Gymnich via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 3 04:32:34 PDT 2025


================
@@ -3853,13 +3853,13 @@ Important Subclasses of Constant
     value of this constant, an APInt value.
 
   * ``int64_t getSExtValue() const``: Converts the underlying APInt value to an
-    int64_t via sign extension.  If the value (not the bit width) of the APInt
-    is too large to fit in an int64_t, an assertion will result.  For this
+    ``int64_t`` via sign extension.  If the value (not the bit width) of the APInt
+    is too large to fit in an ``int64_t``, an assertion will result.  For this
     reason, use of this method is discouraged.
 
   * ``uint64_t getZExtValue() const``: Converts the underlying APInt value
----------------
tgymnich wrote:

```suggestion
  * ``uint64_t getZExtValue() const``: Converts the underlying ``APInt`` value
```

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


More information about the llvm-commits mailing list