summaryrefslogtreecommitdiff
path: root/tools/gcc-plugins
AgeCommit message (Collapse)Author
2020-03-29tools/gcc-plugins: add small test for frr-formatDavid Lamparter
Just enough to check that it works. Signed-off-by: David Lamparter <equinox@diac24.net>
2020-03-29tools/gcc-plugins: frr-formatDavid Lamparter
This provides the first reasonably-working version of the frr-format GCC plugin. I've only tested it with gcc 9.3.0. Signed-off-by: David Lamparter <equinox@diac24.net>
2020-03-29tools/gcc-plugins: cut c-format.c to sizeDavid Lamparter
... remove everything we don't need (or can't use because GCC doesn't export all of its internal classes & stuff.) Signed-off-by: David Lamparter <equinox@diac24.net>
2020-03-29tools/gcc-plugins: import c-format from GCCDavid Lamparter
(and gcc-common.h from the Linux kernel) Signed-off-by: David Lamparter <equinox@diac24.net>