aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/FAQ
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-09-30 16:27:17 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-18 21:26:31 +0200
commite6b31b72c25f767b6ac661ef36963ac2c2787ac4 (patch)
tree53e490c0c3d4b6021a9f3c677d5079027beeb8fe /FAQ
parent5d390e127ede8a2fa84f78f6f53fcb551bec5908 (diff)
downloadsparse-dev-e6b31b72c25f767b6ac661ef36963ac2c2787ac4.tar.gz
pre-process: add support for builtin macros
Sparse support the expansion of one-symbol-builtin macros like __FILE__. It also support builtin macros with an argument, like 'defined()' or '__has_attribute()'. However, these last one are only expanded inside a pre-processor conditional expression. This is correct for 'defined()' but macros like '__has_attribute()' should be expanded in all contexts, like user defined macros. So, add support for the general expansion of such macros. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'FAQ')
0 files changed, 0 insertions, 0 deletions