This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Add a setting for changing the type completion mode to use the new redecl method
Needs ReviewPublic

Authored by teemperor on Nov 11 2021, 8:51 AM.

Details

Reviewers
aprantl
labath
Summary

This is the (temporary) setting that allows switching into the new type completion mode by D101950.

This patch is NFC, it just adds all the boilerplate for adding that new setting. Will only land alongside
a non-NFC follow up patch

Diff Detail

Event Timeline

teemperor created this revision.Nov 11 2021, 8:51 AM
teemperor requested review of this revision.Nov 11 2021, 8:51 AM

This seems like the right boilerplate.

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
117–120

functions should not be inside the anononymous namespace (although this file has quite a few of them).

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClangProperties.td
4

If you want to have "experimental" in the name, I guess you should then make it "experimental.redecl-completion", as we have some special magic for handling settings like that.