[llvm] r246081 - [Kaleidoscope] Fix a typo in Chapter 5.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 13:57:03 PDT 2015
Author: lhames
Date: Wed Aug 26 15:57:03 2015
New Revision: 246081
URL: http://llvm.org/viewvc/llvm-project?rev=246081&view=rev
Log:
[Kaleidoscope] Fix a typo in Chapter 5.
Modified:
llvm/trunk/docs/tutorial/LangImpl5.rst
Modified: llvm/trunk/docs/tutorial/LangImpl5.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/LangImpl5.rst?rev=246081&r1=246080&r2=246081&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/LangImpl5.rst (original)
+++ llvm/trunk/docs/tutorial/LangImpl5.rst Wed Aug 26 15:57:03 2015
@@ -97,7 +97,7 @@ To represent the new expression we add a
/// 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,
More information about the llvm-commits
mailing list