smatch: rename expr_to_str() to expr_to_var()
commit2b42a77f56934ebf21d0c6a98a8d79da55f53c68
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 22 Jan 2013 20:16:31 +0000 (22 23:16 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 22 Jan 2013 20:16:31 +0000 (22 23:16 +0300)
tree9134de0400d66cceb4a51ee30e196698e6458fd5
parente23073f1aeddc0904393aff712afb12cef47e6af
smatch: rename expr_to_str() to expr_to_var()

I modified expr_to_str_sym() to expr_to_var_sym() as well.  This function
used to get_variable_from_expression(), the name "var" more is more
accurate in what it does and how it differs from expr_to_str_complex().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
49 files changed:
check_allocation_funcs.c
check_bogus_loop.c
check_call_tree.c
check_container_of.c
check_debug.c
check_dev_queue_xmit.c
check_dma_on_stack.c
check_free.c
check_freeing_null.c
check_frees_argument.c
check_get_user_overflow.c
check_info_leak.c
check_kmalloc_to_bugon.c
check_kunmap.c
check_leaks.c
check_locking.c
check_macro_side_effects.c
check_memory.c
check_missing_break.c
check_overflow.c
check_passes_sizeof.c
check_pointer_math.c
check_proc_create.c
check_propagate.c
check_puts_argument.c
check_redundant_null_check.c
check_release_resource.c
check_rosenberg.c
check_sizeof.c
check_template.c
check_unused_ret.c
check_unwind.c
check_user_data.c
check_wine_WtoA.c
check_wine_filehandles.c
smatch.h
smatch_buf_size.c
smatch_comparison.c
smatch_db.c
smatch_equiv.c
smatch_extra.c
smatch_function_hooks.c
smatch_helper.c
smatch_implied.c
smatch_math.c
smatch_modification_hooks.c
smatch_parse_call_math.c
smatch_states.c
smatch_tracker.c