diff options
author | 2007-03-02 12:09:24 -0800 | |
---|---|---|
committer | 2007-03-02 14:33:54 -0800 | |
commit | dd580753ccf1a372e3ff19ac90fdbfc92e94ca66 (patch) | |
tree | 045c200ca51480af9f9fe01e94782769b54b918e /parse.h | |
parent | Add static to declarations in test cases, to remove unrelated warnings. (diff) | |
download | sparse-dd580753ccf1a372e3ff19ac90fdbfc92e94ca66.tar.gz sparse-dd580753ccf1a372e3ff19ac90fdbfc92e94ca66.tar.bz2 sparse-dd580753ccf1a372e3ff19ac90fdbfc92e94ca66.zip |
Add annotation for inline function call.
For inline functions, Sparse inlines the function body at evaluation. It is
very hard to find out the original function call. This change preserves the
original call as an annotation.
Signed-Off-By: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,8 @@ struct statement { struct /* compound_struct */ { struct statement_list *stmts; struct symbol *ret; + struct symbol *inline_fn; + struct statement *args; }; struct /* labeled_struct */ { struct symbol *label_identifier; |