Sorry, I forgot to change the comment in my script, per Richard's comment.

-John

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of John Thompson
Sent: Thursday, April 17, 2014 11:18 AM
To: [email protected]
Subject: r206483 - Revised per Dmitri's comments. My first exposure to 
range-based for loops, thanks!

Author: jtsoftware
Date: Thu Apr 17 13:17:36 2014
New Revision: 206483

URL: http://llvm.org/viewvc/llvm-project?rev=206483&view=rev
Log:
Revised per Dmitri's comments. My first exposure to range-based for loops, 
thanks!

Modified:
    cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp

Modified: cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp?rev=206483&r1=206482&r2=206483&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp (original)
+++ cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp Thu Apr 17 
+++ 13:17:36 2014
@@ -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();


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to