================
@@ -39,47 +38,47 @@ Potential macros for replacement must meet the following
constraints:
Each cluster of macros meeting the above constraints is presumed to
be a set of values suitable for replacement by an anonymous enum.
From there, a developer can give the anonymous enum a name and
-continue refactoring to a scoped enum if desired. Comments on the
+continue refactoring to a scoped enum if desired. Comments on the
same line as a macro definition or between subsequent macro definitions
-are preserved in the output. No formatting is assumed in the provided
+are preserved in the output. No formatting is assumed in the provided
replacements, although clang-tidy can optionally format all fixes.
-.. warning::
-
- Initializing expressions are assumed to be valid initializers for
- an enum. C requires that enum values fit into an ``int``, but
- this may not be the case for some accepted constant expressions.
- For instance ``1 << 40`` will not fit into an ``int`` when the size of
- an ``int`` is 32 bits.
+```{warning}
+Initializing expressions are assumed to be valid initializers for
+an enum. C requires that enum values fit into an `int`, but
----------------
EugeneZelenko wrote:
```suggestion
an `enum`. C requires that `enum` values fit into an `int`, but
```
https://github.com/llvm/llvm-project/pull/232207
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits