flang/module only contains Fortran files and one is a .h so disable
formatting on that directory.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Most of the differences were in formatting conditional expressions and I thought they were improvements.
My preference would be to have an option not to align things in those expressions. (You'll notice we have turned off all of the alignment options in .clang-format.) For example:
return IsUpperCaseLetter(ch) ? ch - 'A' + 10 : IsLowerCaseLetter(ch) ? ch - 'a' + 10 : DecimalDigitValue(ch);