|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH v2 3/3] target/hexagon: avoid shadowing globals |
| Date: | Tue, 10 Oct 2023 09:34:19 +0200 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 10/10/23 08:04, Markus Armbruster wrote:
Philippe Mathieu-Daudé <philmd@linaro.org> writes: [...]If we have to clean that for -Wshadow=global, I'm tempted to rename the typedef as 'vaddr_t' and keep the 'vaddr' variable names.POSIX reserves suffix _t, see https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02
Alternatives: tvaddr, VAddr, TargetVirtualAddress. Naming is hard.
Do we care?Richard, Anton, what do you think?[...]
| [Prev in Thread] | Current Thread | [Next in Thread] |