From 548643ecdacb143f5e5f534b741ff4d6f5311c19 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 26 Aug 2015 20:57:03 +0000 Subject: [PATCH] [Kaleidoscope] Fix a typo in Chapter 5. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246081 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/LangImpl5.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Cond, Then, Else; + std::unique_ptr Cond, Then, Else; public: IfExprAST(std::unique_ptr Cond, std::unique_ptr Then, -- 2.34.1