[cfe-commits] r45227 - in /cfe/trunk: Driver/clang.cpp include/clang/Lex/Preprocessor.h
Ted Kremenek
kremenek at apple.com
Wed Dec 19 14:32:35 PST 2007
Author: kremenek
Date: Wed Dec 19 16:32:34 2007
New Revision: 45227
URL: http://llvm.org/viewvc/llvm-project?rev=45227&view=rev
Log:
Typo fix.
Modified:
cfe/trunk/Driver/clang.cpp
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=45227&r1=45226&r2=45227&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Wed Dec 19 16:32:34 2007
@@ -940,8 +940,7 @@
/// 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 @@
SourceMgr.setMainFileID(MainFileID);
- ProcessInputFile(PP, MainFileID, InFile, *DiagClient);
+ ProcessInputFile(PP, InFile, *DiagClient);
HeaderInfo.ClearFileInfo();
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=45227&r1=45226&r2=45227&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Wed Dec 19 16:32:34 2007
@@ -216,7 +216,7 @@
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);
More information about the cfe-commits
mailing list