Force braces on the else branch if they are being added to the if branch.
This ensures consistency in the transformed code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Awesome! Thanks for the fix!
| clang-tidy/readability/BracesAroundStatementsCheck.h | ||
|---|---|---|
| 46 ↗ | (On Diff #22905) | Maybe add a comment describing the meaning of the return value? |