[clang-tools-extra] 38ec229 - [clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 30 07:45:26 PDT 2021
Author: Kirill Bobyrev
Date: 2021-09-30T16:45:10+02:00
New Revision: 38ec2292f0c2f25062705607b92502c0f9de3678
URL: https://github.com/llvm/llvm-project/commit/38ec2292f0c2f25062705607b92502c0f9de3678
DIFF: https://github.com/llvm/llvm-project/commit/38ec2292f0c2f25062705607b92502c0f9de3678.diff
LOG: [clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793
Added:
Modified:
clang-tools-extra/clangd/Headers.h
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/Headers.h b/clang-tools-extra/clangd/Headers.h
index fa24d43e9bff..4c80c21d514c 100644
--- a/clang-tools-extra/clangd/Headers.h
+++ b/clang-tools-extra/clangd/Headers.h
@@ -141,7 +141,7 @@ class IncludeStructure {
// 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<HeaderID, unsigned> includeDepth(HeaderID Root) const;
// Maps HeaderID to the ids of the files included from it.
More information about the cfe-commits
mailing list