RodrigoDornelles / 3bc-lang

Low-level language, tiny virtual machine, minimal runtime, intermediate representation, embeddable, easy for beginners. (Friendly Punched cards)
https://3bc-lang.org
GNU General Public License v3.0
232 stars 25 forks source link

linter clang-format show diff with correct indentation #369

Open RodrigoDornelles opened 1 year ago

RodrigoDornelles commented 1 year ago

Please Describe The Problem To Be Solved

currently clang-format is only showing the first wrong line of each file, without showing how to correct it, a comparison between the current and the correct would be interesting.

Suggest A Solution

it can be a simple solution using linux's diff command, as a reporting step after clang-format.

Important links