[Mesa-dev] [PATCH 3/3] gallium: whitespace, comment formatting fixes in p_defines.h

Brian Paul brianp at vmware.com
Thu Feb 26 07:43:00 PST 2015


On 02/26/2015 08:31 AM, Emil Velikov wrote:
> On 26/02/15 15:26, Brian Paul wrote:
> ...
>> I just like consistency.
>>
> You're not the only one here :-)
>
>> As for the grep, can't you use '$' to match EOL: git grep "^enum foo$" ?
>> It's actually one less keystroke! :)
>>
> Last time I've tried it there were some declarations which had trailing
> whitespace, and functions such as
>
> enum foo
> fancy_function(...)

Ah, right.


> Guess I might need to move to ctags :-\

OK.  But if the other brace style really works better, I'm happy to 
switch to that.  I'm going to push my patches as-is for now though.

-Brian



More information about the mesa-dev mailing list