[Kaleidoscope] Fix a typo in Chapter 5.
authorLang Hames <lhames@gmail.com>
Wed, 26 Aug 2015 20:57:03 +0000 (20:57 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 26 Aug 2015 20:57:03 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246081 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tutorial/LangImpl5.rst

index 7b8c29a1977f9092efaa07313e8eb3228492c930..978bdcbb125248f6df847fe57e2235b93049cd31 100644 (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,