[petsc-dev] Uncrustify has fucked up my file

Karl Rupp rupp at mcs.anl.gov
Thu Jan 31 19:58:41 CST 2013


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.

Best regards,
Karli



More information about the petsc-dev mailing list