Loading clang-tools-extra/clangd/unittests/ClangdTests.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public: std::vector<std::pair<Path, bool>> Result; std::lock_guard<std::mutex> Lock(Mutex); for (const auto &It : LastDiagsHadError) Result.emplace_back(It.first(), It.second); Result.emplace_back(std::string(It.first()), It.second); return Result; } Loading clang-tools-extra/clangd/unittests/IndexActionTests.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ void checkNodesAreInitialized(const IndexFileIn &IndexFile, std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) { std::map<std::string, const IncludeGraphNode &> Nodes; for (auto &I : IG) Nodes.emplace(I.getKey(), I.getValue()); Nodes.emplace(std::string(I.getKey()), I.getValue()); return Nodes; } Loading Loading
clang-tools-extra/clangd/unittests/ClangdTests.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public: std::vector<std::pair<Path, bool>> Result; std::lock_guard<std::mutex> Lock(Mutex); for (const auto &It : LastDiagsHadError) Result.emplace_back(It.first(), It.second); Result.emplace_back(std::string(It.first()), It.second); return Result; } Loading
clang-tools-extra/clangd/unittests/IndexActionTests.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ void checkNodesAreInitialized(const IndexFileIn &IndexFile, std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) { std::map<std::string, const IncludeGraphNode &> Nodes; for (auto &I : IG) Nodes.emplace(I.getKey(), I.getValue()); Nodes.emplace(std::string(I.getKey()), I.getValue()); return Nodes; } Loading