[clang-tools-extra] r270059 - [include-fixer] Remove an unused local variable ExistingHeaders.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu May 19 06:23:27 PDT 2016


Author: hokein
Date: Thu May 19 08:23:27 2016
New Revision: 270059

URL: http://llvm.org/viewvc/llvm-project?rev=270059&view=rev
Log:
[include-fixer] Remove an unused local variable ExistingHeaders.

Modified:
    clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp

Modified: clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp?rev=270059&r1=270058&r2=270059&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp Thu May 19 08:23:27 2016
@@ -242,8 +242,6 @@ public:
   std::vector<clang::tooling::Replacement>
   CreateReplacementsForHeaders(StringRef Code,
                                const std::set<std::string> &Headers) {
-    std::set<std::string> ExistingHeaders;
-
     // Create replacements for new headers.
     clang::tooling::Replacements Insertions;
     if (FirstIncludeOffset == -1U) {




More information about the cfe-commits mailing list