This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Replace usages of dummy with more descriptive words
ClosedPublic

Authored by kadircet on Mar 22 2021, 3:20 AM.

Details

Summary

Dummy is a word with inappropriate associations. This patch updates the
references to it in clangd code base with more precise ones.

The only user-visible change is the default variable name used when extracting a
variable. It will be named as placeholder from now on.

Diff Detail

Event Timeline

kadircet created this revision.Mar 22 2021, 3:20 AM
kadircet requested review of this revision.Mar 22 2021, 3:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 3:20 AM
hokein accepted this revision.Mar 22 2021, 3:29 AM
hokein added inline comments.
clang-tools-extra/clangd/SemanticHighlighting.cpp
399

I'd name it InvalidHightlightingToken.

This revision is now accepted and ready to land.Mar 22 2021, 3:29 AM
kadircet updated this revision to Diff 332248.Mar 22 2021, 4:40 AM
kadircet marked an inline comment as done.
  • address comments
This revision was landed with ongoing or failed builds.Mar 22 2021, 4:50 AM
This revision was automatically updated to reflect the committed changes.