[cfe-dev] Running clang programmatically

Friedman, Eli via cfe-dev cfe-dev at lists.llvm.org
Tue Aug 28 11:41:39 PDT 2018


On 8/28/2018 2:36 AM, Geoff Levner via cfe-dev wrote:
> On Mar 16, 2010, at 9:10 PM, Stefan Seefeld <stefan.seefeld at 
> gmail.com <http://gmail.com>>
> wrote:
>
> > > 2) Where is the current error emitted, and how may I intercept it
> > > programmatically ?
> >
> > Driver errors can't easily be intercepted at the moment, so they go to
> > standard error. In the near future, all diagnostics will go through
> > the diagnostic interface of CIndex.
>
> Eight years later... Has any progress been made on this issue?

Reviving an old thread with absolutely no explanation of what you're 
doing isn't going to give you useful answer; please start a new thread 
explaining your problem, including a description of how you're invoking 
clang.

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180828/e74794d7/attachment.html>


More information about the cfe-dev mailing list