[clang-tools-extra] [clang-tidy][docs][NFC] Enforce 80 characters limit (4/4) (PR #168049)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 18 22:33:03 PST 2025
================
@@ -75,9 +75,9 @@ Examples:
an implicit conversion of an integer quantity ``i & 1`` to ``bool`` and
becomes ``return (i & 1) != 0;``
- 6. Given ``struct X { explicit operator bool(); };``, and an instance ``x`` of
- ``struct X``, the conditional return ``if (x) return true; return false;``
- becomes ``return static_cast<bool>(x);``
+ 6. Given ``struct X { explicit operator bool(); };``, and an instance ``x``
+ of ``struct X``, the conditional return ``if (x) return true;
+ return false;`` becomes ``return static_cast<bool>(x);``
----------------
zeyi2 wrote:
Thanks for reviewing, I've fixed the problems as requested :)
https://github.com/llvm/llvm-project/pull/168049
More information about the cfe-commits
mailing list