Re: [PATCH 01/16] gdb: use type instance macros to query const, volatile, restrict
Tom Tromey <[email protected]> Tue, 21 Jul 2026 11:52:18 -0600
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
>>>>> Tankut Baris Aktemur <[email protected]> writes: > In two cases in compile/compile-c-types.c and > compile/compile-cplus-types.c, we query if a type is const, volatile, > or restrict using bitmasks. For such read-only queries, there are > macros. Use them for code uniformity. The new code may be slightly > less optimal, but I don't think this would matter in practice. This > is a code cleanup step in a series. Thanks. Approved-By: Tom Tromey <[email protected]> Tom