[cfe-dev] [analyzer] Applying fixes automatically in CSA as it done in Clang Tidy
Kristóf Umann via cfe-dev
cfe-dev at lists.llvm.org
Mon Apr 15 07:55:23 PDT 2019
As far as I know, the analyzer currently doesn't support FixIts in any of
the output types, unfortunately. I guess it wouldn't be too hard to add it
to BugReport, and let diagnostic consumers implement it on their own.
On Sun, 14 Apr 2019 at 16:40, Alexander Zaitsev via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> In Clang Tidy there is an option to apply fixes automatically if a
> checker can suggest something. But I can't find similar functionality in
> Clang Static Analyzer (CSA).
> My check is too complex to be part of Clang Tidy but I can provide to
> user an option to fix some places automatically. Is there any option to
> do it with CSA?
> Thank you.
> Best regards,
> Alexander Zaitsev
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev