diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-05-30 22:54:06 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-06-07 22:52:54 -0400 |
commit | a791eef767389b2bf88c67f3361a001677f8caa7 (patch) | |
tree | 2657f55d04271eaed30c23047f67aef67671fc31 /gdb/tui/tui-location.h | |
parent | 8a39a981bd8d576de0d343b8c2eee47655d8c720 (diff) | |
download | gdb-a791eef767389b2bf88c67f3361a001677f8caa7.zip gdb-a791eef767389b2bf88c67f3361a001677f8caa7.tar.gz gdb-a791eef767389b2bf88c67f3361a001677f8caa7.tar.bz2 |
gdb: add IWYU export pragams to gdb_curses.h
It seems like gdb_curses.h is included whenever we want to access
ncurses functionality, instead of including directly ncurses.h. As a
result, clangd often erroneously shows that gdb_curses.h inclusions are
unused.
By adding those pragmas, clangd (and the include-what-you-use tool)
understands that gdb_curses.h is a valid provider for whatever these
ncurses.h files provide.
Change-Id: Ia8acd761dae1577f7151d5fb558f35514b4e4ea2
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/tui/tui-location.h')
0 files changed, 0 insertions, 0 deletions