================
@@ -11,18 +11,18 @@ lead to undefined or implementation dependent behavior. In 
particular, right
 shift a signed integer is implementation dependent, while left shift a signed
 integer may result in undefined behavior.
 
-.. code-block:: c++
+```cpp
+int main(){
+   int x = -4;
+   int y = x >> 1; // y can be -2 or 2147483646
+}
+```
 
-   int main(){
-      int x = -4;
-      int y = x >> 1; // y can be -2 or 2147483646
-   }
+## Options
 
-Options
--------
+```{option} IgnorePositiveIntegerLiterals
 
-.. option:: IgnorePositiveIntegerLiterals
-
-   If this option is set to `true`, the check will not warn on bitwise
-   operations with positive integer literals, e.g. ``~0``, ``2 << 1``, etc.
-   Default value is `false`.
+If this option is set to `true`, the check will not warn on bitwise
+operations with positive integer literals, e.g. `~0`, `2 << 1`, etc.
+Default value is `false`.
----------------
zeyi2 wrote:

```suggestion
Default value is *false*.
```

https://github.com/llvm/llvm-project/pull/210467
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to