Fix clangd
This commit is contained in:
@@ -5,6 +5,10 @@ bin/*
|
||||
|
||||
compile_commands.json
|
||||
|
||||
.clangd
|
||||
|
||||
include/bindings/ruby_compiled.h
|
||||
|
||||
p.vim
|
||||
|
||||
.cache/
|
||||
|
||||
@@ -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 ----------------
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
devShells = forAllSystems (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
clang-tools
|
||||
clang
|
||||
ccache
|
||||
pkg-config
|
||||
|
||||
+1
-2
@@ -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
@@ -38,4 +38,4 @@ int main(int argc, char *argv[]) {
|
||||
mrb_close(Ruby::mrb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user