diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-04-03 17:07:15 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-08 21:42:55 +0100 |
| commit | ffe9f9fef003d29b65d29b8da5416aff72baff5a (patch) | |
| tree | 5d73f752a98a796a252b0bf920965d159782221f /gdbhelpers | |
| parent | 35db0f18f8153592ec8ed6ea0fa3650c2d3efded (diff) | |
| download | sparse-dev-ffe9f9fef003d29b65d29b8da5416aff72baff5a.tar.gz | |
add support for C11's _Atomic as type qualifier
This only add the parsing and checks as a type qualifier;
there is no operational semantic associated with it.
Note: this only support _Atomic as *type qualifier*, not
as a *type specifier* (partly because there an
ambiguity on how to parse '_Atomic' when followed
by an open parenthesis (can be valid as qualifier
and as specifier)).
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'gdbhelpers')
| -rw-r--r-- | gdbhelpers | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -110,6 +110,9 @@ define gdb_show_ctype if ($arg0->modifiers & MOD_RESTRICT) printf "MOD_RESTRICT " end + if ($arg0->modifiers & MOD_ATOMIC) + printf "MOD_ATOMIC " + end if ($arg0->modifiers & MOD_SIGNED) printf "MOD_SIGNED " end |
