diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-05-30 16:22:37 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-05-30 16:22:37 -0400 |
commit | 002310d77de404189b80ff4b951b7dd27152fa71 (patch) | |
tree | e72457f7075e32cde940c3cda0901a26d54ca5ce /gdb/tui/tui-io.c | |
parent | 4a7d71687676a1c36326e71f0a783fccb8748127 (diff) | |
download | gdb-002310d77de404189b80ff4b951b7dd27152fa71.zip gdb-002310d77de404189b80ff4b951b7dd27152fa71.tar.gz gdb-002310d77de404189b80ff4b951b7dd27152fa71.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
Diffstat (limited to 'gdb/tui/tui-io.c')
0 files changed, 0 insertions, 0 deletions