[petsc-dev] Uncrustify has fucked up my file

Sean Farley sean at mcs.anl.gov
Thu Jan 31 20:00:15 CST 2013


On Thu, Jan 31, 2013 at 7:58 PM, Karl Rupp <rupp at mcs.anl.gov> wrote:
> Hi,
>
>
>> I am abiding by all the screwed up stuff that is written down. Not what
>> isn't.
>
>
> Well...
>
>
>
>> The blank lines were in the middle of code, not between variables and
>> code.
>
>
> You can revert that if you feel the need to. They were introduced
> occasionally in order to allow for a better dispatch about when to align at
> '=' and when not. Example:
>
> ierr = some_operation();
> super_long_variable_name_that_screws_everything_up = x;
>
> Clearly you don't want to align at '=' in this case. I wasn't aware about
> your reluctance with respect to blank lines (yes, they occur in other parts
> of PETSc regularly), so feel free to revert this if you think that you are
> making our lives less harder than you make yours easier.

Karl, please don't feed the trolls.



More information about the petsc-dev mailing list