[clang-tools-extra] [clang-tidy][docs][NFC] Enforce 80 characters limit (1/N) (PR #167492)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 12 07:56:47 PST 2025
================
@@ -17,15 +17,15 @@ bitmask if the three conditions below are true at the same time:
short enumerations)
* there is another non pow-of-2 number than the enum constant representing all
choices (the result "bitwise OR" operation of all enum elements)
-* enum type variable/enumconstant is used as an argument of a `+` or "bitwise OR
- " operator
+* enum type variable/enumconstant is used as an argument of a `+` or "bitwise
+ OR" operator
So whenever the non pow-of-2 element is used as a bitmask element we diagnose a
misuse and give a warning.
2. Investigating the right hand side of `+=` and `|=` operator.
-3. Check only the enum value side of a `|` and `+` operator if one of them is not
- enum val.
+3. Check only the enum value side of a `|` and `+` operator if one of them is
----------------
EugeneZelenko wrote:
```suggestion
3. Check only the enum value side of a ``|`` and ``+`` operator if one of them is
```
Same in surrounding statements.
https://github.com/llvm/llvm-project/pull/167492
More information about the cfe-commits
mailing list