[cfe-dev] CompilerInstance and setting compiler options

peter jacobsen via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 7 02:41:43 PST 2016


Hi,

I am developing a static analyzer using clang.  I setup a CompilerInstance,
ASTConsumer etc. as copied from a number of examples.  I would like to know
how to set compiler options.  In particular I would like to suppress
'warning: expression result unused'  (-Wunused-value)

Thanks,

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


More information about the cfe-dev mailing list