You mean something like a shell or Windows .bat script to run clang-format? Yes, that should be possible - I'm not sure what you want that script to do, though. clang-format can be run on main.c directly without the need for an intermediate script, I'd have thought.
On Wed, Feb 24, 2021 at 5:07 AM shirley breuer via cfe-dev <[hidden email]> wrote:
I want to create a batch that calls and uses the Clang program to format my main.c file for example.
This should be done in tools like:
- TI (Texas Instruments Code Composer)
- Eclipse IDE
- ARM Keil
Is this possible and if so how?
I am new in this field and therefore quite inexperienced, also with the creation of a batch.