[clang] [DRAFT][analyzer][NFC] clang-format our folders (PR #82599)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 22 01:59:26 PST 2024
================
@@ -188,88 +187,79 @@ struct ValueType {
inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) {
switch (nbytes) {
- case 1: return ST_8;
- case 2: return ST_16;
- case 4: return ST_32;
- case 8: return ST_64;
- case 16: return ST_128;
- default: return ST_0;
+ case 1:
+ return ST_8;
+ case 2:
+ return ST_16;
+ case 4:
+ return ST_32;
+ case 8:
+ return ST_64;
+ case 16:
+ return ST_128;
+ default:
+ return ST_0;
----------------
steakhal wrote:
```suggestion
// clang-format off
case 1: return ST_8;
case 2: return ST_16;
case 4: return ST_32;
case 8: return ST_64;
case 16: return ST_128;
default: return ST_0;
// clang-format on
```
This was previously nicely aligned.
https://github.com/llvm/llvm-project/pull/82599
More information about the cfe-commits
mailing list