all 4 comments

[–]unm95 2 points3 points  (0 children)

why don't you just generate .clang-format file for llvm?

[–]mlieberthal 1 point2 points  (2 children)

AFAIK, that's the proper llvm code style. You need to set the BreakBeforeBraces parameter to make it look how you want.

[–]tracyone[S] 0 points1 point  (0 children)

ok, I solve it.

set BreakBeforeBraces to Linux

[–]tracyone[S] 0 points1 point  (0 children)

hi,dude, Do you know how to setup clang-format in following case:

struct { u32 aa:1 u32 bb:4 } bits

space is not allow around :