[cfe-commits] r136442 - /cfe/trunk/lib/Serialization/ASTReader.cpp
Douglas Gregor
dgregor at apple.com
Thu Jul 28 17:59:35 PDT 2011
Author: dgregor
Date: Thu Jul 28 19:59:35 2011
New Revision: 136442
URL: http://llvm.org/viewvc/llvm-project?rev=136442&view=rev
Log:
Remove unused debug function
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=136442&r1=136441&r2=136442&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Thu Jul 28 19:59:35 2011
@@ -4339,27 +4339,6 @@
}
}
-template<typename Key, typename Module, typename Adjustment,
- unsigned InitialCapacity>
-static void
-dumpModuleIDOffsetMap(StringRef Name,
- const ContinuousRangeMap<Key,
- std::pair<Module *,
- Adjustment>,
- InitialCapacity> &Map) {
- if (Map.begin() == Map.end())
- return;
-
- typedef ContinuousRangeMap<Key, std::pair<Module *, Adjustment>,
- InitialCapacity> MapType;
- llvm::errs() << Name << ":\n";
- for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end();
- I != IEnd; ++I) {
- llvm::errs() << " " << I->first << " -> (" << I->second.first->FileName
- << ", " << I->second.second << ")\n";
- }
-}
-
void ASTReader::dump() {
llvm::errs() << "*** AST File Remapping:\n";
dumpModuleIDMap("Global bit offset map", GlobalBitOffsetsMap);
More information about the cfe-commits
mailing list