This revision was automatically updated to reflect the committed changes. Closed by commit rL341639: [clangd] NFC: Document URIDistance (authored by omtcyfz, committed by ). Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D51691?vs=164197&id=164372#toc Repository: rL LLVM https://reviews.llvm.org/D51691 Files: clang-tools-extra/trunk/clangd/FileDistance.h Index: clang-tools-extra/trunk/clangd/FileDistance.h =================================================================== --- clang-tools-extra/trunk/clangd/FileDistance.h +++ clang-tools-extra/trunk/clangd/FileDistance.h @@ -89,6 +89,7 @@ // comparison on the bodies. class URIDistance { public: + // \p Sources must contain absolute paths, not URIs. URIDistance(llvm::StringMap<SourceParams> Sources, const FileDistanceOptions &Opts = {}) : Sources(Sources), Opts(Opts) {}
Index: clang-tools-extra/trunk/clangd/FileDistance.h =================================================================== --- clang-tools-extra/trunk/clangd/FileDistance.h +++ clang-tools-extra/trunk/clangd/FileDistance.h @@ -89,6 +89,7 @@ // comparison on the bodies. class URIDistance { public: + // \p Sources must contain absolute paths, not URIs. URIDistance(llvm::StringMap<SourceParams> Sources, const FileDistanceOptions &Opts = {}) : Sources(Sources), Opts(Opts) {}
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits