[clang-tools-extra] r196409 - Improve comment, as requested by Alp Toker.
John Thompson
John.Thompson.JTSoftware at gmail.com
Wed Dec 4 12:41:31 PST 2013
Author: jtsoftware
Date: Wed Dec 4 14:41:30 2013
New Revision: 196409
URL: http://llvm.org/viewvc/llvm-project?rev=196409&view=rev
Log:
Improve comment, as requested by Alp Toker.
Modified:
clang-tools-extra/trunk/modularize/Modularize.cpp
Modified: clang-tools-extra/trunk/modularize/Modularize.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/Modularize.cpp?rev=196409&r1=196408&r2=196409&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/Modularize.cpp (original)
+++ clang-tools-extra/trunk/modularize/Modularize.cpp Wed Dec 4 14:41:30 2013
@@ -771,7 +771,7 @@ int main(int Argc, const char **Argv) {
for (EntryBinArray::iterator DI = EntryBins.begin(), DE = EntryBins.end();
DI != DE; ++DI, ++KindIndex) {
int ECount = DI->size();
- // If only 1 occurrence, skip;
+ // If only 1 occurrence of this entity, skip it, as we only report duplicates.
if (ECount <= 1)
continue;
LocationArray::iterator FI = DI->begin();
More information about the cfe-commits
mailing list