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 | 53c92be3b233cede6114702a5f86f146f55d6c6e (patch) | |
| tree | 5339bdc0fc182b931ed86cc38288cb239d087ee2 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 640ccf071076e684713cc3c3276bb51982bff607 (diff) | |
| download | clang-53c92be3b233cede6114702a5f86f146f55d6c6e.tar.gz clang-53c92be3b233cede6114702a5f86f146f55d6c6e.tar.bz2 clang-53c92be3b233cede6114702a5f86f146f55d6c6e.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
