This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Remove --inlay-hints flag
ClosedPublic

Authored by sammccall on Jan 11 2022, 9:43 AM.

Diff Detail

Event Timeline

sammccall created this revision.Jan 11 2022, 9:43 AM
sammccall requested review of this revision.Jan 11 2022, 9:43 AM

nit: I'd rename the patch to remove rather than retire.

nridge added a subscriber: nridge.Jan 12 2022, 8:58 PM
sammccall retitled this revision from [clangd] Retire --inlay-hints flag to [clangd] Remove --inlay-hints flag.

rename patch

nit: I'd rename the patch to remove rather than retire.

Done.

kadircet added inline comments.Jan 13 2022, 12:35 AM
clang-tools-extra/clangd/tool/ClangdMain.cpp
296

oops, missed this one in the previous revision.

any reason for not directly dropping it? this was an "experimental flag" which we didn't advertise publicly (until one or two weeks ago, and even then we don't mention the flag, https://clangd.llvm.org/extensions#inlay-hints)

kadircet accepted this revision.Jan 13 2022, 1:01 AM

thanks, as discussed offline, i was mostly worried about the user confusion we would get when people can't turn it off with --inlay-hints=false but this has both made it into clangd-13 and has been mentioned by others in public enough places, so rather than breaking people with next release let's keep it.

This revision is now accepted and ready to land.Jan 13 2022, 1:01 AM
This revision was automatically updated to reflect the committed changes.