Give ModuleFiles an index, so that we can use indexed vectors rather
authorDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 20:07:12 +0000 (20:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 20:07:12 +0000 (20:07 +0000)
commitbdb259d223c40e23d9a3990762c0ff0cb406be0e
treef2a9cb003481debaf3927bafa67ec936092dc95f
parentb898209086c363ee43b854a4b90e773248fa1f9a
Give ModuleFiles an index, so that we can use indexed vectors rather
than DenseMaps and SmallPtrSets for module-visitation data. ~2.6%
speedup for modules.

llvm-svn: 173081
clang/include/clang/Serialization/Module.h
clang/lib/Serialization/ModuleManager.cpp