hokein created this revision. hokein added a reviewer: kadircet. Herald added a project: All. hokein requested review of this revision. Herald added a project: clang-tools-extra.
I found that this information is helpful when using this tool. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D139715 Files: clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp Index: clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp =================================================================== --- clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp +++ clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp @@ -130,7 +130,7 @@ switch (Print) { case PrintStyle::Changes: for (const Include *I : Results.Unused) - llvm::outs() << "- " << I->quote() << "\n"; + llvm::outs() << "- " << I->quote() << " @Line:" << I->Line << "\n"; for (const auto &I : Results.Missing) llvm::outs() << "+ " << I << "\n"; break;
Index: clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp =================================================================== --- clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp +++ clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp @@ -130,7 +130,7 @@ switch (Print) { case PrintStyle::Changes: for (const Include *I : Results.Unused) - llvm::outs() << "- " << I->quote() << "\n"; + llvm::outs() << "- " << I->quote() << " @Line:" << I->Line << "\n"; for (const auto &I : Results.Missing) llvm::outs() << "+ " << I << "\n"; break;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits