diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-11-06 10:25:27 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-07 12:47:07 +0100 |
commit | 1d7cff3779e4bff944ce17c86471a87141c352d2 (patch) | |
tree | ac45101d418ff679dc9bd4bef7c02c9daa7d6b79 | |
parent | c560e2f65b625367d3baf0fcf06cf19996407659 (diff) | |
download | passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar.gz passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar.bz2 passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar.lz passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar.xz passt-1d7cff3779e4bff944ce17c86471a87141c352d2.tar.zst passt-1d7cff3779e4bff944ce17c86471a87141c352d2.zip |
clang: Add rudimentary clangd configuration
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>
-rw-r--r-- | .clangd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +1,3 @@ +CompileFlags: + # Don't try to interpret our headers as C++' + Add: [-xc, -Wall] |