• Lubomir Rintel's avatar
    all: use the elvis operator wherever possible · e69d3869
    Lubomir Rintel authored
    Coccinelle:
    
      @@
      expression a, b;
      @@
      -a ? a : b
      +a ?: b
    
    Applied with:
    
      spatch --sp-file ternary.cocci --in-place --smpl-spacing --dir .
    
    With some manual adjustments on spots that Cocci didn't catch for
    reasons unknown.
    
    Thanks to the marvelous effort of the GNU compiler developer we can now
    spare a couple of bits that could be used for more important things,
    like this commit message. Standards commitees yet have to catch up.
    e69d3869
Name
Last commit
Last update
..
C Loading commit data...
dispatcher Loading commit data...
js Loading commit data...
lua/lgi Loading commit data...
nm-conf.d Loading commit data...
python Loading commit data...
ruby Loading commit data...
shell Loading commit data...