[cfe-dev] Clang-format configuration files

Alexander Kornienko alexfh at google.com
Tue May 7 03:51:31 PDT 2013


On Mon, May 6, 2013 at 9:25 PM, Mehmet Erol Sanliturk <
m.e.sanliturk at gmail.com> wrote:

>
> (1)
>
> Instead of writing :
>
> ConstructorInitializerAllOnOneLineOrOnePerLine
>
>
> Use of underscores makes reading more easier :
>
> Constructor_Initializer_All_On_One_Line_Or_One_Per_Line
>
>
I'd prefer to retain naming conventions used in the code, so that it's
easier to track the usage of certain configuration parameters.


>
> (2)
>
> Instead of using - ( dash ) , use of underscore as a separator between
> words allows use of variable parsing procedures to be used for parsing
> lines :
>
> "clang-format" as three tokens
> versus
> "clang_format"  as one token .
>

"clang-format" is the name of the binary, so I'm not sure how your idea
about tokens applies to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130507/3973d966/attachment.html>


More information about the cfe-dev mailing list