projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2d013
)
[clangd] Update comment after dea48079b90d40f2087435b778544dffb0ab1793
author
Kirill Bobyrev
<kbobyrev@google.com>
Thu, 30 Sep 2021 14:45:10 +0000
(16:45 +0200)
committer
Kirill Bobyrev
<kbobyrev@google.com>
Thu, 30 Sep 2021 14:45:10 +0000
(16:45 +0200)
clang-tools-extra/clangd/Headers.h
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/Headers.h
b/clang-tools-extra/clangd/Headers.h
index
fa24d43
..
4c80c21
100644
(file)
--- 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<HeaderID, unsigned> includeDepth(HeaderID Root) const;
// Maps HeaderID to the ids of the files included from it.