]> Git Repo - qemu.git/commit
decodetree: Suppress redundant declaration warnings
authorRichard Henderson <[email protected]>
Fri, 9 Aug 2019 15:12:50 +0000 (08:12 -0700)
committerRichard Henderson <[email protected]>
Mon, 19 Aug 2019 15:13:14 +0000 (08:13 -0700)
commitc692079597d98337b6f25deff7599afe39b2a468
tree2842f6e568161578a96b43b5cbc518ebdf07b010
parent94597b6146f30f949f2c454f424082a2b0f55a0e
decodetree: Suppress redundant declaration warnings

We can tell that a decodetree input file is "secondary" when it
uses an argument set marked "!extern".  This indicates that at
least one of the insn translation functions will have already
been declared by the "primary" input file, but given only the
secondary we cannot tell which.

Avoid redundant declaration warnings by suppressing them with pragmas.

Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Suggested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
scripts/decodetree.py
This page took 0.023915 seconds and 4 git commands to generate.