[PATCH] Clang-format: Braces Indent Style Whitesmith
jvapen at gmail.com
Mon Jan 12 11:23:01 PST 2015
I've fixed the method to do the indentation, by adapting indent in ContinuationIndenter::getNewLineColumn()
As far as I understand it, the indent of the content of the enumeration is determined by the very last statement.
In a first attempt, I looked at the current token being an identifier; though it was not selective enough.
Now I look at the previous token, though this worked for the current tests, it gives incorrect indent for the second enum-value.
Further more this introduces an issue with the breaks, where:
I'm really starting to get lost in this one function call :s
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19653 bytes
Desc: not available
More information about the cfe-commits