HomePhabricator

[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions.

Authored by dergachev.a on Jul 13 2020, 9:13 PM.

Description

[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions.

The AnalyzerOptions object contains too much information that's
entirely specific to the Analyzer. It is also being referenced by
path diagnostic consumers to tweak their behavior. In order for path
diagnostic consumers to function separately from the analyzer,
make a smaller options object that only contains relevant options.

Differential Revision: https://reviews.llvm.org/D67420