foot/.clangd
Daniel Eklöf f35e60577f
project: add .clangd, where we set -Wno-c2y-extensions
We make use of __COUNTER__, which recent versions of clang emit a
warning for (unless you compile with -std=c2y).

Our meson.build already handles this for the actual build, but if your
build is using gcc, -Wno-c2y-extensions isn't added to the build
rules (since gcc doesn't support the flag).
2026-05-17 15:03:56 +02:00

5 lines
63 B
YAML

# -*- yaml -*-
CompileFlags:
Add:
- -Wno-c2y-extensions