[cfe-commits] [PATCH] Introduce CompilerInvocation::setLangDefaults function

Peter Collingbourne peter at pcc.me.uk
Tue Oct 26 14:28:22 PDT 2010


Hi,

This patch refactors the CompilerInvocation code to introduce a
CompilerInvocation::setLangDefaults function, which can set up a
LangOptions with the defaults for a given language and language
standard.  This function is useful for non-command line based Clang
clients which need to set up a CompilerInvocation manually for a
specific language.

OK to commit?

Thanks,
-- 
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-CompilerInvocation-setLangDefaults-functio.patch
Type: text/x-diff
Size: 6965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101026/99e589f5/attachment.patch>


More information about the cfe-commits mailing list