Logo
Explore Help
Sign In
shylie/llvm-project
1
0
Fork 0
You've already forked llvm-project
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
llvm-project/clang-tools-extra/test
History
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
..
clang-apply-replacements
…
clang-change-namespace
Update redirected output file.
2020-06-19 23:30:16 -07:00
clang-doc
…
clang-include-fixer
…
clang-move
…
clang-query
[clang-tooling] Prevent llvm::fatal_error on invalid CLI option
2021-01-29 10:15:06 +01:00
clang-reorder-fields
…
clang-tidy
[clang-tidy] [PR50069] readability-braces-around-statements doesn't work well with [[likely]] [[unlikely]]
2021-08-14 12:05:21 +01:00
modularize
…
pp-trace
[test] Update tests
2021-03-09 22:32:28 -08:00
Unit
…
.clang-format
…
CMakeLists.txt
[libclang] Remove LIBCLANG_INCLUDE_CLANG_TOOLS_EXTRA
2021-03-01 13:21:59 -05:00
lit.cfg.py
Add an explicit toggle for the static analyzer in clang-tidy
2020-09-10 10:48:17 -04:00
lit.site.cfg.py.in
[libclang] Remove LIBCLANG_INCLUDE_CLANG_TOOLS_EXTRA
2021-03-01 13:21:59 -05:00
Powered by Gitea Version: 1.23.1 Page: 1116ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API