MaciejPatro / cmake-tidy

Project provides a set of tools that will ease the development process for code written in CMake.
MIT License
15 stars 0 forks source link

foreach loop formatting now obeys the line_length limitations #148

Closed MaciejPatro closed 4 years ago

MaciejPatro commented 4 years ago
foreach(X IN LISTS aaaa bbbb cccc dddd eeee ffff gggg hhhh jjjj iiii kkkk llll mmmm nnnn oooo pppp rrrr)
    message("${X}")
endforeach()

now is handled as:

foreach(X
    IN LISTS
        aaaa
        ...
        rrrr
)
    message(\"${X}\")
endforeach()
MaciejPatro commented 4 years ago

foreach loop formatting now obeys the line_length limitations:

Connected issue #145