HomePhabricator

[analyzer] Fix macro names in diagnostics within bigger macros.

Authored by dergachev.a on Apr 23 2019, 2:30 PM.

Description

[analyzer] Fix macro names in diagnostics within bigger macros.

If macro "CHECK_X(x)" expands to something like "if (x != NULL) ...",
the "Assuming..." note no longer says "Assuming 'x' is equal to CHECK_X".

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

llvm-svn: 359037