Hello,
I am trying to redirect the output emitted when running a tool through
clang::tooling::runToolOnCode() to a buffer or string instead of stderr
(llvm::errs()). I'm using clangTooling from release 3.9.
When looking at clangTooling code and following the execution flow, I have
found the fo
o much code to duplicate
thanks to ToolInvocation::setDiagnosticConsumer() already existing.
Best regards,
L. Soltic
> Le 4 août 2016 à 20:55, Lucas Soltic via cfe-users
> a écrit :
>
> Hello,
>
> I am trying to redirect the output emitted when running a tool through
>
I don't know which API you're using, but
clang::NamedDecl::getQualifiedNameAsString seems to do what you want.
> Le 30 août 2016 à 17:40, David Blaikie via cfe-users
> a écrit :
>
> Do you want to identify the same entity across a valid program's various
> source files? Across changes to that