summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl5.rst
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-08-26 20:57:03 +0000
committerLang Hames <lhames@gmail.com>2015-08-26 20:57:03 +0000
commit9d7593fb33c50d6960dbf89e7c12b1417617b187 (patch)
tree0c408eb7ab7d4603930412bf2e77fc62eb6a93a3 /llvm/docs/tutorial/LangImpl5.rst
parent8a067121f84181948c99616855539e1d0674c52e (diff)
downloadbcm5719-llvm-9d7593fb33c50d6960dbf89e7c12b1417617b187.tar.gz
bcm5719-llvm-9d7593fb33c50d6960dbf89e7c12b1417617b187.zip
[Kaleidoscope] Fix a typo in Chapter 5.
llvm-svn: 246081
Diffstat (limited to 'llvm/docs/tutorial/LangImpl5.rst')
-rw-r--r--llvm/docs/tutorial/LangImpl5.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/LangImpl5.rst b/llvm/docs/tutorial/LangImpl5.rst
index 7b8c29a1977..978bdcbb125 100644
--- a/llvm/docs/tutorial/LangImpl5.rst
+++ b/llvm/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,
OpenPOWER on IntegriCloud