llvm-project/clang-tools-extra/test/clang-tidy
mydeveloperday fe866327c1 [clang-tidy] [PR50069] readability-braces-around-statements doesn't work well with [[likely]] [[unlikely]]
https://bugs.llvm.org/show_bug.cgi?id=50069

When clang-tidy sees:

```
if (true) [[unlikely]] {
    ...
}
```

It thinks the braces are missing and add them again.

```
if (true)  { [[unlikely]] {
    ...
  }
}
```

This revision aims to prevent that incorrect code generation

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D105479
2021-08-14 12:05:21 +01:00
..
checkers [clang-tidy] [PR50069] readability-braces-around-statements doesn't work well with [[likely]] [[unlikely]] 2021-08-14 12:05:21 +01:00
infrastructure [clang-tidy] LIT test fix for Remark diagnostic 2021-06-11 02:02:36 -07:00
check_clang_tidy.py [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00