projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f57102
)
[Kaleidoscope] Fix a typo in Chapter 5.
author
Lang Hames
<lhames@gmail.com>
Wed, 26 Aug 2015 20:57:03 +0000
(20:57 +0000)
committer
Lang 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
patch
|
blob
|
history
diff --git
a/docs/tutorial/LangImpl5.rst
b/docs/tutorial/LangImpl5.rst
index 7b8c29a1977f9092efaa07313e8eb3228492c930..978bdcbb125248f6df847fe57e2235b93049cd31 100644
(file)
--- 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,