[cfe-dev] Clang-tidy and version control software

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Sat Mar 5 23:59:14 PST 2016


On Sat, Mar 5, 2016, 12:29 AM Richard via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

>
> [Please reply *only* to the list and do not include my email directly
> in the To: or Cc: of your reply; otherwise I will not see your reply.
> Thanks.]
>
> In article <
> CAJm83LTY2FcasUnDoRLDrUEYM5iXa_7vvdZ4fA9r_jH62jkXGg at mail.gmail.com>,
>     Eugene Zelenko via cfe-dev <cfe-dev at lists.llvm.org> writes:
>
> > I think will be good idea to provide possibility in CLang-tidy to call
> > arbitrary script with file name as parameter which will make necessary
> > preparation steps in version control software before making changes in
> > this particular file.
>
> This is not the responsibility of clang-tidy.
>
> It is the responsibility of whatever automated/build framework you
> have that is invoking clang-tidy.
>

That can't know ahead of time which files will be changed. I think a hook
in clang tooling's refactoring that users plug into might be a good idea.

--
> "The Direct3D Graphics Pipeline" free book <
> http://tinyurl.com/d3d-pipeline>
>      The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
>          The Terminals Wiki <http://terminals.classiccmp.org>
>   Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://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/20160306/9f69aca0/attachment.html>


More information about the cfe-dev mailing list