[cfe-dev] Testing new ClangTool
Shraiysh Vaishay via cfe-dev
cfe-dev at lists.llvm.org
Sat Nov 23 20:18:14 PST 2019
Recently I was working on a similar thing. GTest works pretty well for out
of source tools on Clang. The runToolOnCode from Tooling.h can directly be
used to test your code on an input string program. Hope this helps.
On Sun, Nov 24, 2019, 9:39 AM Marcos Horro Varela via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hello all,
> I am new to this community so I have some doubts if this question can be
> asked here but, when you develop a new clang tool, is there any preferred
> testing framework/methodology?
> Many thanks.
> Kind regards,
> Marcos Horro
> PhD Student
> Universidade da Coruña (UDC)
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev