diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp @@ -799,7 +799,7 @@ static std::unique_ptr ParseTopLevelExpr() { SourceLocation FnLoc = CurLoc; if (auto E = ParseExpression()) { - // Make an anonymous proto. + // Make the top-level expression be our "main" function. auto Proto = std::make_unique(FnLoc, "main", std::vector()); return std::make_unique(std::move(Proto), std::move(E));