Update to reflect API changes in r171367.

llvm-svn: 171381
This commit is contained in:
Chandler Carruth 2013-01-02 12:55:00 +00:00
parent 8966c60cae
commit 38336a168d
2 changed files with 3 additions and 3 deletions

View File

@ -265,14 +265,14 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
break;
case lldb::eLanguageTypeC_plus_plus:
m_compiler->getLangOpts().CPlusPlus = true;
m_compiler->getLangOpts().CPlusPlus0x = true;
m_compiler->getLangOpts().CPlusPlus11 = true;
break;
case lldb::eLanguageTypeObjC_plus_plus:
default:
m_compiler->getLangOpts().ObjC1 = true;
m_compiler->getLangOpts().ObjC2 = true;
m_compiler->getLangOpts().CPlusPlus = true;
m_compiler->getLangOpts().CPlusPlus0x = true;
m_compiler->getLangOpts().CPlusPlus11 = true;
break;
}

View File

@ -260,7 +260,7 @@ ParseLangArgs
Opts.LineComment = Std.hasLineComments();
Opts.C99 = Std.isC99();
Opts.CPlusPlus = Std.isCPlusPlus();
Opts.CPlusPlus0x = Std.isCPlusPlus0x();
Opts.CPlusPlus11 = Std.isCPlusPlus11();
Opts.Digraphs = Std.hasDigraphs();
Opts.GNUMode = Std.isGNUMode();
Opts.GNUInline = !Std.isC99();