From: Kirill Bobyrev Date: Thu, 30 Sep 2021 14:45:10 +0000 (+0200) Subject: [clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793 X-Git-Tag: upstream/15.0.7~30037 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38ec2292f0c2f25062705607b92502c0f9de3678;p=platform%2Fupstream%2Fllvm.git [clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793 --- diff --git a/clang-tools-extra/clangd/Headers.h b/clang-tools-extra/clangd/Headers.h index fa24d43..4c80c21 100644 --- a/clang-tools-extra/clangd/Headers.h +++ b/clang-tools-extra/clangd/Headers.h @@ -141,7 +141,7 @@ public: // All transitive includes (absolute paths), with their minimum include depth. // Root --> 0, #included file --> 1, etc. // Root is the ID of the header being visited first. - // Usually it is getID(SM.getFileEntryForID(SM.getMainFileID())->getName()). + // Usually it is getID(SM.getFileEntryForID(SM.getMainFileID()), SM). llvm::DenseMap includeDepth(HeaderID Root) const; // Maps HeaderID to the ids of the files included from it.