From: Ted Kremenek Date: Wed, 19 Dec 2007 22:32:34 +0000 (+0000) Subject: Typo fix. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dcc968f17a6ff9088c9651dddccc8d4025a1271;p=clang Typo fix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45227 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 20900c2f6b..1bb4a1aa04 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -940,8 +940,7 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile, /// ProcessInputFile - Process a single input file with the specified state. /// -static void ProcessInputFile(Preprocessor &PP, unsigned MainFileID, - const std::string &InFile, +static void ProcessInputFile(Preprocessor &PP, const std::string &InFile, TextDiagnostics &OurDiagnosticClient) { ASTConsumer* Consumer = NULL; @@ -1180,7 +1179,7 @@ int main(int argc, char **argv) { SourceMgr.setMainFileID(MainFileID); - ProcessInputFile(PP, MainFileID, InFile, *DiagClient); + ProcessInputFile(PP, InFile, *DiagClient); HeaderInfo.ClearFileInfo(); diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index a92962f423..0ad83f71f6 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -216,7 +216,7 @@ public: void AddPragmaHandler(const char *Namespace, PragmaHandler *Handler); /// EnterMainSourceFile - Enter the specified FileID as the main source file, - /// which implicitly adds the builting defines etc. + /// which implicitly adds the builtin defines etc. void EnterMainSourceFile(unsigned CurFileID);