TypeResult::release -> TypeResult::get.

This commit is contained in:
Vassil Vassilev 2014-06-06 10:23:36 +02:00 committed by sftnight
parent 5d217e83ea
commit e927bdbb7f

View File

@ -1348,7 +1348,7 @@ namespace cling {
while (P.getCurToken().isNot(tok::eof)) {
ExprResult Res = P.ParseAssignmentExpression();
if (Res.isUsable()) {
Expr* expr = Res.release();
Expr* expr = Res.get();
GivenArgs.push_back(expr);
if (first_time) {
first_time = false;
@ -1449,7 +1449,7 @@ namespace cling {
while (P.getCurToken().isNot(tok::eof)) {
ExprResult Res = P.ParseAssignmentExpression();
if (Res.isUsable()) {
argExprs.push_back(Res.release());
argExprs.push_back(Res.get());
}
else {
hasUnusableResult = true;