[cfe-commits] r39554 - /cfe/cfe/trunk/Lex/HeaderSearch.cpp
bwendlin at cs.uiuc.edu
bwendlin at cs.uiuc.edu
Wed Jul 11 09:45:32 PDT 2007
Author: bwendlin
Date: Wed Jul 11 11:45:32 2007
New Revision: 39554
URL: http://llvm.org/viewvc/llvm-project?rev=39554&view=rev
Log:
Submitted by: Bill Wendling
Removed #include <iostream>.
Modified:
cfe/cfe/trunk/Lex/HeaderSearch.cpp
Modified: cfe/cfe/trunk/Lex/HeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/HeaderSearch.cpp?rev=39554&r1=39553&r2=39554&view=diff
==============================================================================
--- cfe/cfe/trunk/Lex/HeaderSearch.cpp (original)
+++ cfe/cfe/trunk/Lex/HeaderSearch.cpp Wed Jul 11 11:45:32 2007
@@ -16,7 +16,7 @@
#include "clang/Lex/IdentifierTable.h"
#include "llvm/System/Path.h"
#include "llvm/ADT/SmallString.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
using namespace llvm;
using namespace clang;
@@ -30,8 +30,8 @@
}
void HeaderSearch::PrintStats() {
- std::cerr << "\n*** HeaderSearch Stats:\n";
- std::cerr << FileInfo.size() << " files tracked.\n";
+ cerr << "\n*** HeaderSearch Stats:\n";
+ cerr << FileInfo.size() << " files tracked.\n";
unsigned NumOnceOnlyFiles = 0, MaxNumIncludes = 0, NumSingleIncludedFiles = 0;
for (unsigned i = 0, e = FileInfo.size(); i != e; ++i) {
NumOnceOnlyFiles += FileInfo[i].isImport;
@@ -39,16 +39,16 @@
MaxNumIncludes = FileInfo[i].NumIncludes;
NumSingleIncludedFiles += FileInfo[i].NumIncludes == 1;
}
- std::cerr << " " << NumOnceOnlyFiles << " #import/#pragma once files.\n";
- std::cerr << " " << NumSingleIncludedFiles << " included exactly once.\n";
- std::cerr << " " << MaxNumIncludes << " max times a file is included.\n";
-
- std::cerr << " " << NumIncluded << " #include/#include_next/#import.\n";
- std::cerr << " " << NumMultiIncludeFileOptzn << " #includes skipped due to"
- << " the multi-include optimization.\n";
+ cerr << " " << NumOnceOnlyFiles << " #import/#pragma once files.\n";
+ cerr << " " << NumSingleIncludedFiles << " included exactly once.\n";
+ cerr << " " << MaxNumIncludes << " max times a file is included.\n";
+
+ cerr << " " << NumIncluded << " #include/#include_next/#import.\n";
+ cerr << " " << NumMultiIncludeFileOptzn << " #includes skipped due to"
+ << " the multi-include optimization.\n";
- std::cerr << NumFrameworkLookups << " framework lookups.\n";
- std::cerr << NumSubFrameworkLookups << " subframework lookups.\n";
+ cerr << NumFrameworkLookups << " framework lookups.\n";
+ cerr << NumSubFrameworkLookups << " subframework lookups.\n";
}
//===----------------------------------------------------------------------===//
More information about the cfe-commits
mailing list