create-diff-object: add __FUNCTION__ variables to the special static list

As discovered in #918, the `__FUNCTION__` static local variable is
similar to the `__func__` variable, in that it refers to the current
function name.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
Josh Poimboeuf 2018-10-17 20:32:09 -05:00
parent 7305d6c29a
commit 72103a178c

View File

@ -250,6 +250,7 @@ static int is_special_static(struct symbol *sym)
"__warned.",
"descriptor.",
"__func__.",
"__FUNCTION__.",
"_rs.",
"CSWTCH.",
NULL,