Update to reflect API changes in r171367.
llvm-svn: 171381
This commit is contained in:
parent
8966c60cae
commit
38336a168d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue