Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang-tools-extra/clangd/InlayHints.cpp | ||
|---|---|---|
| 320 | nit: getSourceManager().isWrittenInMainFile(FileRange->getBegin()) | |
| clang-tools-extra/clangd/InlayHints.cpp | ||
|---|---|---|
| 320 | double nit: isInsideMainFile(Loc, SM), I presume we would like to keep hints in preamble section as well (even though it is unlikely that we'll have any) | |
| clang-tools-extra/clangd/InlayHints.cpp | ||
|---|---|---|
| 320 | Yeah I did think about that too :-) I don't think we have any that can trigger there, and isInsideMainFile is more expensive. | |
nit: getSourceManager().isWrittenInMainFile(FileRange->getBegin())