From 38ec2292f0c2f25062705607b92502c0f9de3678 Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev Date: Thu, 30 Sep 2021 16:45:10 +0200 Subject: [PATCH] [clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793 --- clang-tools-extra/clangd/Headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.7.4