You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run clangd on the LLVM codebase, with --inlay-hints=true in the command line
Open clang/include/clang/AST/ASTNodeTraverser.h
Observe that the file contains a number of spurious parameter and type hints near the top
I suspect the spurious hints are related to this include of AttrNodeTraverse.inc near the bottom of the file. The hints look like they belong to the code in that .inc file, but incorrectly surfaced in ASTNodeTraverser.h.
The text was updated successfully, but these errors were encountered:
The include being at non-global scope is important for some reason; if I move it to global scope (and adjust the included file contents accordingly), i do not get a spurious hint.
Steps to reproduce
--inlay-hints=true
in the command lineI suspect the spurious hints are related to this include of
AttrNodeTraverse.inc
near the bottom of the file. The hints look like they belong to the code in that.inc
file, but incorrectly surfaced inASTNodeTraverser.h
.The text was updated successfully, but these errors were encountered: