<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/138990>138990</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Flag for single line warning/error?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          LevoDeLellis
      </td>
    </tr>
</table>

<pre>
    Is there a flag or env var I can use to have less verbose warnings? I don't need the ascii art

```
z.cpp:5:13: warning: implicit truncation from 'E' to bit-field changes value from 2 to -2 [-Wbitfield-constant-conversion]
    5 |         S s{E::C};
      | ^~~~
```

Seeing the line and pointing to s does nothing for me. I only want the first part. I tried looking for an option on this page but its large and I didn't see it https://clang.llvm.org/docs/DiagnosticsReference.html

Code:
```
#include <cstdio>
enum E : int { A, B, C, D };
struct S { E v : 2; };
int main() {
        S s{E::C};
        switch (s.v) {
                case E::C: printf("Got C\n"); return 0;
                default: printf("Got %d\n", s.v); return 0;
        }
}

```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEVE2PpDYQ_TXFpdQt1m6a5sCB_iAaaU-ZQ87GFODEbSO7YLQ5zG-PzHTPZjeJYlnGsl8916sqSsVoRkdUQ3GG4pqphScf6q-0-it9JWtNzDrff6tfIvJEgVDhYNWIPiC5FVcV8AW1crhEQvY4qZXQUoy4Uuh8JHxTwRk3RpAtvmDvHYiS0RH1iRFV1MagCgx5k-Yxf8y8-XOv5xlkU4BsvkiQzZMrbc19tkYbRg6L04qNdzgEf0cQ5Q1EmZzpDO8GQ7ZHPSk3UsRV2YU-cCIhdgKhOO9-6wxvwJ32LrJynDYrhWi8g-IKeYOIWCCUF3yOV4xQnm8gG5DNBcoryPMDiBsQitv7-_tPoiBvXomMGzf11jhC5XqcvXG8nXqM2HuK6DxP6WTwAe-0xxf0zn7DN-V4sx1MiIyzCpzuOBjq0X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