Author: ioeric Date: Mon Oct 1 01:50:49 2018 New Revision: 343448 URL: http://llvm.org/viewvc/llvm-project?rev=343448&view=rev Log: [clangd] Fix header mapping for std::string. NFC
Some implementation has std::string declared in <iosfwd>. Modified: clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp Modified: clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp?rev=343448&r1=343447&r2=343448&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp (original) +++ clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp Mon Oct 1 01:50:49 2018 @@ -143,6 +143,7 @@ void addSystemHeadersMapping(CanonicalIn {"std::basic_stringstream", "<sstream>"}, {"std::istringstream", "<sstream>"}, {"std::ostringstream", "<sstream>"}, + {"std::string", "<string>"}, {"std::stringbuf", "<sstream>"}, {"std::stringstream", "<sstream>"}, {"std::wistringstream", "<sstream>"}, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits