diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-04 10:59:25 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-04 23:24:42 +0200 |
| commit | 2b2e96ab37568f68085be64ba8c2b9e7d71de088 (patch) | |
| tree | d355459b50dc8ce58c1014104cdbed56dab53cc3 /ast-inspect.c | |
| parent | 1dd127244b7e1908215843d4ebcff465e70f6156 (diff) | |
| download | sparse-dev-2b2e96ab37568f68085be64ba8c2b9e7d71de088.tar.gz | |
dyn-macro: use a table to expand __DATE__, __FILE__, ...
GCC consider these macros as being defined, sparse doesn't.
Also sparse uses a sequence of comparisons, one for each of
__DATE__, __FILE__, ..., which is not ideal.
Fix this by defining and using a table to associate to the
corresponding symbol a method doing the expansion.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'ast-inspect.c')
0 files changed, 0 insertions, 0 deletions
