diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-04 01:50:27 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-04 01:50:27 +0000 |
commit | aaeb73b1590e66f2e2ea0f4b50bbe820e5b5ff38 (patch) | |
tree | 2327ca7b103652bfe18b795823d55937f7ba0feb /clang/lib/CodeGen/BackendUtil.cpp | |
parent | d22d8ff343051e3a507153b57e05499c6286b876 (diff) | |
download | llvm-aaeb73b1590e66f2e2ea0f4b50bbe820e5b5ff38.zip llvm-aaeb73b1590e66f2e2ea0f4b50bbe820e5b5ff38.tar.gz llvm-aaeb73b1590e66f2e2ea0f4b50bbe820e5b5ff38.tar.bz2 |
Introduce CompilerInvocation::setLangDefaults function
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.
llvm-svn: 120874
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions