I'm in the process of refactoring AnalyzerOptions. The main motivation behind here is to emit warnings if an invalid -analyzer-config option is given from the command line, and be able to list them all.
In this patch, I'm moving all analyzer options to a def file, and move 2 enums to global namespace.
Do we actually ever use UMK_SHALLOW? If not, the whole .def file can be simplified, because the use of getDefaultValForUserMode(/* ShallowVal */, /* DeepVal */) is clunky. If we do, I'd also be fine with rewriting the function generating macro from
to
because that'd be nicer than the current solution.