diff options
author | Lang Hames <lhames@gmail.com> | 2015-08-26 20:57:03 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-08-26 20:57:03 +0000 |
commit | 548643ecdacb143f5e5f534b741ff4d6f5311c19 (patch) | |
tree | e398612faf10165191fa63306908f67dc2d44572 /docs/tutorial | |
parent | 6f57102c6dcadd38583cdba940ca22931642f513 (diff) |
[Kaleidoscope] Fix a typo in Chapter 5.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial')
-rw-r--r-- | docs/tutorial/LangImpl5.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/LangImpl5.rst b/docs/tutorial/LangImpl5.rst index 7b8c29a1977..978bdcbb125 100644 --- a/docs/tutorial/LangImpl5.rst +++ b/docs/tutorial/LangImpl5.rst @@ -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, |