1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[Kaleidoscope] Fix a typo in Chapter 5.

llvm-svn: 246081
This commit is contained in:
Lang Hames 2015-08-26 20:57:03 +00:00
parent ec9bd6fd7e
commit 116085be9e

View File

@ -97,7 +97,7 @@ To represent the new expression we add a new AST node for it:
/// IfExprAST - Expression class for if/then/else.
class IfExprAST : public ExprAST {
std::unique<ExprAST> Cond, Then, Else;
std::unique_ptr<ExprAST> Cond, Then, Else;
public:
IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,