HomePhabricator

[analyzer] CheckerContext: Make the Preprocessor available

Authored by Charusso on Jan 30 2020, 8:00 AM.

Description

[analyzer] CheckerContext: Make the Preprocessor available

Summary:
This patch hooks the Preprocessor trough BugReporter to the
CheckerContext so the checkers could look for macro definitions.

Reviewed By: NoQ

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