summaryrefslogtreecommitdiffstats
path: root/clang/Driver/clang.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-12-19 22:32:34 +0000
committerTed Kremenek <kremenek@apple.com>2007-12-19 22:32:34 +0000
commitf7bfae6b45771cef04afac043d67cd11a18927e6 (patch)
treeb73d8a08ff070b30c84ae318e723de323d4e5176 /clang/Driver/clang.cpp
parent34eb6d877eb8e563bc3b546dbcd9f9c1644e7a98 (diff)
downloadbcm5719-llvm-f7bfae6b45771cef04afac043d67cd11a18927e6.tar.gz
bcm5719-llvm-f7bfae6b45771cef04afac043d67cd11a18927e6.zip
Typo fix.
llvm-svn: 45227
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 20900c2f6b9..1bb4a1aa04f 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud