[PATCH] D51691: [clangd] NFC: Document URIDistance

Kirill Bobyrev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 02:22:46 PDT 2018


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) {}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51691.164372.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/0d95e9f8/attachment.bin>


More information about the llvm-commits mailing list