https://github.com/vbvictor commented:
To me, this is purely readability check `readability-inconsistent-ifelse-braces`. I would leave `bugprone` category for checks that catch pattern which almost certainly have a bug (or very easy to have a bug). With such braces, I don't think it's _very_ easy to get a bug. We already have [readability-misleading-indentation](https://clang.llvm.org/extra/clang-tidy/checks/readability/misleading-indentation.html) that catches cases with braces that are likely to have a bug. https://github.com/llvm/llvm-project/pull/162361 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
