[llvm-commits] [llvm] r47481 - /llvm/trunk/docs/tutorial/LangImpl2.html
Chris Lattner
sabre at nondot.org
Fri Feb 22 09:09:42 PST 2008
Author: lattner
Date: Fri Feb 22 11:09:39 2008
New Revision: 47481
URL: http://llvm.org/viewvc/llvm-project?rev=47481&view=rev
Log:
fix some bugs in tutorial, patch by Erick Tryzelaar
Modified:
llvm/trunk/docs/tutorial/LangImpl2.html
Modified: llvm/trunk/docs/tutorial/LangImpl2.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/LangImpl2.html?rev=47481&r1=47480&r2=47481&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/LangImpl2.html (original)
+++ llvm/trunk/docs/tutorial/LangImpl2.html Fri Feb 22 11:09:39 2008
@@ -933,7 +933,7 @@
/// of arguments the function takes).
class PrototypeAST {
std::string Name;
- std::vector< Args;
+ std::vector<std::string> Args;
public:
PrototypeAST(const std::string &name, const std::vector<std::string> &args)
: Name(name), Args(args) {}
@@ -1132,7 +1132,7 @@
static FunctionAST *ParseTopLevelExpr() {
if (ExprAST *E = ParseExpression()) {
// Make an anonymous proto.
- PrototypeAST *Proto = new PrototypeAST("", std::vector<());
+ PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
return new FunctionAST(Proto, E);
}
return 0;
More information about the llvm-commits
mailing list