OK, thinking about this more and refining the idea, here’s an approach I like.
Add a new Hidden or Deprecated optional attribute for settings, similar to how Global can be added in the .td file. A setting which is Hidden is not shown with apropos or settings list but if a user writes the full expression path to it, the help message will be shown with “Obsolete”.
Change symbols.enable-lldb-index-cache to Hidden, and if someone has it in their init script, have its behavior be identical to setting symbols.lldb-index-cache.type.symtab and symbols.lldb-index-cache.type.dwarf-index to that setting value. So people with this in a ~/.lldbinit will not get an error message, and lldb will be have the same.
The new settings for DataFileCache are
symbols.lldb-index-cache.force-disable default false
symbols.lldb-index-cache.expiration-days default 7
symbols.lldb-index-cache.max-byte-size
symbols.lldb-index-cache.max-percent
symbols.lldb-index-cache.path
symbols.lldb-index-cache.type.symtab default false
symbols.lldb-index-cache.type.dwarf-index default false
symbols.lldb-index-cache.type.memory-module-symtab default true
symbols.lldb-index-cache.type.memory-module-headerbytes default true
symbols.lldb-index-cache.type.bloom-filter default true
symbols.lldb-index-cache.force-disable is a big hammer, useful if someone needs to suppress any local DataFileCache creation by lldb.