[cfe-dev] CompilerInvocation toArgs gone

Richard Smith richard at metafoo.co.uk
Fri Nov 9 17:17:09 PST 2012


On Fri, Nov 9, 2012 at 1:11 PM, madil90 <madil90 at gmail.com> wrote:
> Hi,
>    In the previous clang version, the CompilerInvocation class had a
> function named "toArgs" which returned all the arguments used in that
> certain CompilerInvocation instance. That function is no longer present. Has
> the function been moved or has it been completely eliminated?

It has been removed entirely. See:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20121029/067226.html

> If it is eliminated, is there any way to find out the arguments from which the
> invocation was created?

You could try to track down where the CompilerInvocation was created,
and get the arguments from there.

> Where can I find out the list of changes made when a
> new clang version comes out?

Some changes are listed in the release notes, but we usually don't
document changes to Clang's C++ API.



More information about the cfe-dev mailing list