[LLVMdev] Coding standard - indentation width

Chris Lattner clattner at apple.com
Wed Feb 29 21:07:47 PST 2012


On Feb 29, 2012, at 2:26 AM, James Molloy wrote:

> Hi,
>  
> The coding standard document doesn’t mention anything about preferred indentation width (only not to change per-file and not make massive re-tabbing diffs), but I swear I’ve had people complain at me for not using 2 spaces in new files I’ve committed.
>  
> Am I misremembering, or is there a preferred tabwidth of 2, and if so where is it / should it be documented?

I don't think it is documented, feel free to add it to CodingStandards.html.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120229/9de4a62d/attachment.html>


More information about the llvm-dev mailing list