[clang-tools-extra] r276096 - [include-fixer] Tweak: remove unintended const.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 02:00:22 PDT 2016
Author: hokein
Date: Wed Jul 20 04:00:22 2016
New Revision: 276096
URL: http://llvm.org/viewvc/llvm-project?rev=276096&view=rev
Log:
[include-fixer] Tweak: remove unintended const.
Modified:
clang-tools-extra/trunk/include-fixer/IncludeFixerContext.cpp
clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h
Modified: clang-tools-extra/trunk/include-fixer/IncludeFixerContext.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/IncludeFixerContext.cpp?rev=276096&r1=276095&r2=276096&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/IncludeFixerContext.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/IncludeFixerContext.cpp Wed Jul 20 04:00:22 2016
@@ -76,7 +76,7 @@ std::string createQualifiedNameForReplac
IncludeFixerContext::IncludeFixerContext(
const QuerySymbolInfo &QuerySymbol,
- const std::vector<find_all_symbols::SymbolInfo> Symbols)
+ std::vector<find_all_symbols::SymbolInfo> Symbols)
: MatchedSymbols(std::move(Symbols)), QuerySymbol(QuerySymbol) {
for (const auto &Symbol : MatchedSymbols) {
HeaderInfos.push_back(
Modified: clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h?rev=276096&r1=276095&r2=276096&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h (original)
+++ clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h Wed Jul 20 04:00:22 2016
@@ -47,7 +47,7 @@ public:
IncludeFixerContext() = default;
IncludeFixerContext(const QuerySymbolInfo &QuerySymbol,
- const std::vector<find_all_symbols::SymbolInfo> Symbols);
+ std::vector<find_all_symbols::SymbolInfo> Symbols);
/// \brief Get symbol name.
llvm::StringRef getSymbolIdentifier() const {
More information about the cfe-commits
mailing list