[cfe-dev] Clang-format: Whitesmiths indentation style

Tim Wojtulewicz via cfe-dev cfe-dev at lists.llvm.org
Thu Jun 27 17:28:00 PDT 2019


I recently picked up implementing clang-format support for the Whitesmiths indentation style, following on from https://reviews.llvm.org/D6833 [https://reviews.llvm.org/D6833]. I updated the existing patch but I’m running into some issues with how case statements get handled. I need to fix the braces inside a case to get indented the next step past the case, but for some reason they don't follow the same indentation rules as other braces. Can someone point me along the right path on this?

On the subject of the review, is it preferred to close out that review and open a new one with a new diff, since it’s fairly different?

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190627/bb274e91/attachment.html>


More information about the cfe-dev mailing list