[cfe-dev] Clang-format configuration files

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Tue May 7 07:03:53 PDT 2013


On Tue, May 7, 2013 at 3:51 AM, Alexander Kornienko <alexfh at google.com>wrote:

>
> 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.
>


Dash separated names are used in many documents , file names , etc.

When these documents are searched , parts are appearing as different words .

Thank you very much .

Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130507/1e4e232d/attachment.html>


More information about the cfe-dev mailing list