summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl2.html
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-16 08:06:54 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-16 08:06:54 +0000
commit01e554f905bede8d4d5bc73d7d66356ab7da6a5a (patch)
treedb6f77ce30e0bacafebb0a6dc235013d7a8aab45 /llvm/docs/tutorial/LangImpl2.html
parentaea148c36603229db498b647696d18316f7eaadc (diff)
downloadbcm5719-llvm-01e554f905bede8d4d5bc73d7d66356ab7da6a5a.tar.gz
bcm5719-llvm-01e554f905bede8d4d5bc73d7d66356ab7da6a5a.zip
Update tutorial to reflect the current APIs. Also correct a small omission in
LangImpl6.html (it needed to defined the 'binary :' operator). PR9052 llvm-svn: 142123
Diffstat (limited to 'llvm/docs/tutorial/LangImpl2.html')
-rw-r--r--llvm/docs/tutorial/LangImpl2.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/tutorial/LangImpl2.html b/llvm/docs/tutorial/LangImpl2.html
index acccd20a090..60e4f7f5e4e 100644
--- a/llvm/docs/tutorial/LangImpl2.html
+++ b/llvm/docs/tutorial/LangImpl2.html
@@ -801,10 +801,10 @@ course.) To build this, just compile with:</p>
<div class="doc_code">
<pre>
- # Compile
- g++ -g -O3 toy.cpp
- # Run
- ./a.out
+# Compile
+clang++ -g -O3 toy.cpp
+# Run
+./a.out
</pre>
</div>
OpenPOWER on IntegriCloud