[cfe-dev] Are there plans for a libDriver?
Nico Weber
nicolasweber at gmx.de
Mon Aug 4 13:55:56 PDT 2008
On 04.08.2008, at 22:13, Ted Kremenek wrote:
>
> On Aug 4, 2008, at 1:07 PM, Nico Weber wrote:
>
>> Are there plans for a libDriver, which makes writing simple, "one-
>> off"
>> clang clients easier? With this library, the amount of code of this
>> program could be reduced by a whole order of magnitude (only the
>> ASTConsumer, two short loops for the -D and -I options, and the call
>> to ParseAST would be left).
>
> Hi Nico,
>
> You are not alone. There is a lot of interest in doing this, but
> nobody has gotten around to doing it yet. If you are interested,
> feel free to drive some work on this by submitting patches, etc.
The attached patch adds directories and Makefiles for a libDriver and
moves the TextDiagnostic classes over there for starters. I hope `svn
diff` encodes `svn mv` information correctly.
Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdriver.patch
Type: application/octet-stream
Size: 23565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080804/b507b954/attachment.obj>
-------------- next part --------------
More information about the cfe-dev
mailing list