[PATCH] D133982: [clangd] Improve inlay hints of things expanded from macros
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 17 02:16:04 PDT 2022
nridge accepted this revision.
nridge added a comment.
This revision is now accepted and ready to land.
Thanks for fixing!
================
Comment at: clang-tools-extra/clangd/InlayHints.cpp:281
- void addReturnTypeHint(FunctionDecl *D, SourceLocation Loc) {
+ void addReturnTypeHint(FunctionDecl *D, SourceRange Range) {
auto *AT = D->getReturnType()->getContainedAutoType();
----------------
Is this change related to the fix?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133982/new/
https://reviews.llvm.org/D133982
More information about the cfe-commits
mailing list