File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- bbae650adb7a55c54b95efbb1b52c35101f3703c
1
+ 9db90514610de6a64b71f9fa7f115437aa3d83d3
Original file line number Diff line number Diff line change 1
- bfd4fdf0e5ff0908e3c5274e7879589ccb1a65fe
1
+ 981341ad1ab30b1d90c4673f5b886232f6ba5d3d
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ ELFDumper<ELFT>::ELFDumper(const llvm::object::ELFFile<ELFT> *Obj) {
103
103
}
104
104
}
105
105
if (StringTableBegin)
106
- DynamicStringTable = StringRef (StringTableBegin, StringTableSize);
106
+ DynamicStringTable = llvm:: StringRef (StringTableBegin, StringTableSize);
107
107
}
108
108
109
109
template <typename ELFT>
Original file line number Diff line number Diff line change @@ -3573,13 +3573,13 @@ AST::Expression* Parser::WalkExpression(const clang::Expr* Expr)
3573
3573
default :
3574
3574
break ;
3575
3575
}
3576
- llvm::APSInt integer;
3576
+ clang::Expr::EvalResult integer;
3577
3577
if (Expr->getStmtClass () != Stmt::CharacterLiteralClass &&
3578
3578
Expr->getStmtClass () != Stmt::CXXBoolLiteralExprClass &&
3579
3579
Expr->getStmtClass () != Stmt::UnaryExprOrTypeTraitExprClass &&
3580
3580
!Expr->isValueDependent () &&
3581
3581
Expr->EvaluateAsInt (integer, c->getASTContext ()))
3582
- return new AST::Expression (integer.toString (10 ));
3582
+ return new AST::Expression (integer.Val . getInt (). toString (10 ));
3583
3583
return new AST::Expression (GetStringFromStatement (Expr));
3584
3584
}
3585
3585
You can’t perform that action at this time.
0 commit comments