diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-12-19 22:32:34 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-12-19 22:32:34 +0000 |
commit | f7bfae6b45771cef04afac043d67cd11a18927e6 (patch) | |
tree | b73d8a08ff070b30c84ae318e723de323d4e5176 /clang/Driver/clang.cpp | |
parent | 34eb6d877eb8e563bc3b546dbcd9f9c1644e7a98 (diff) | |
download | bcm5719-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.cpp | 5 |
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(); |