diff options
| author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2014-04-17 18:17:36 +0000 |
|---|---|---|
| committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2014-04-17 18:17:36 +0000 |
| commit | e2c49d2a4ca5f326da96779939dd66cb1a892bc1 (patch) | |
| tree | 89f33286073526371257f92ef0a2b0e2e76f5d91 /lib/Serialization/GlobalModuleIndex.cpp | |
| parent | b2f2d3e9295711a9bceb8be448584510e87225c7 (diff) | |
| download | clang-e2c49d2a4ca5f326da96779939dd66cb1a892bc1.tar.gz clang-e2c49d2a4ca5f326da96779939dd66cb1a892bc1.tar.bz2 clang-e2c49d2a4ca5f326da96779939dd66cb1a892bc1.tar.xz | |
Revised per Dmitri's comments. My first exposure to range-based for loops, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/GlobalModuleIndex.cpp')
| -rw-r--r-- | lib/Serialization/GlobalModuleIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Serialization/GlobalModuleIndex.cpp b/lib/Serialization/GlobalModuleIndex.cpp index 9f932ab172..631683d92f 100644 --- a/lib/Serialization/GlobalModuleIndex.cpp +++ b/lib/Serialization/GlobalModuleIndex.cpp @@ -352,7 +352,7 @@ void GlobalModuleIndex::printStats() { void GlobalModuleIndex::dump() { llvm::errs() << "*** Global Module Index Dump:\n"; llvm::errs() << "Module files:\n"; - for (auto MI : Modules) { + for (auto &MI : Modules) { llvm::errs() << "** " << MI.FileName << "\n"; if (MI.File) MI.File->dump(); |
