Fix clangd

This commit is contained in:
2026-07-08 15:41:53 +01:00
parent 8f73f09b58
commit 7a9b44a735
5 changed files with 9 additions and 5 deletions
+4
View File
@@ -5,6 +5,10 @@ bin/*
compile_commands.json
.clangd
include/bindings/ruby_compiled.h
p.vim
.cache/
+2 -2
View File
@@ -10,8 +10,8 @@ PCH_DEBUG := $(OBJ_DIR)/debug/pch.h.gch
PCH_RELEASE := $(OBJ_DIR)/release/pch.h.gch
CCACHE := ccache
CXX := $(CCACHE) clang++
CC := $(CCACHE) clang
CXX := $(CCACHE) $(shell which clang++)
CC := $(CCACHE) $(shell which clang)
# ---------------- SDL3 ----------------
+1
View File
@@ -18,6 +18,7 @@
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
clang-tools
clang
ccache
pkg-config
+1 -2
View File
@@ -58,7 +58,6 @@
#include <shared_mutex>
#include <signal.h>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <sys/ioctl.h>
@@ -72,4 +71,4 @@
#include <unordered_set>
#include <vector>
#endif
#endif
+1 -1
View File
@@ -38,4 +38,4 @@ int main(int argc, char *argv[]) {
mrb_close(Ruby::mrb);
return 0;
}
}