1d7cff3779
clangd's default configuration seems to try to treat .h files as C++ not C. There are many more spurious warnings generated at present, but this removes some of the most egregious ones. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
3 lines
85 B
Text
3 lines
85 B
Text
CompileFlags:
|
|
# Don't try to interpret our headers as C++'
|
|
Add: [-xc, -Wall]
|