[cfe-dev] Create a batch to call Clang

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 24 10:31:37 PST 2021


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 <
cfe-dev at lists.llvm.org> wrote:

> Hi Team,
>
> 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.
>
>
> Thanks a lot for your help!
>
> Best regards
> Shirley
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210224/a0739d26/attachment.html>


More information about the cfe-dev mailing list