From 23cc1a7d8c5ae6a397071763d0326990868c37af Mon Sep 17 00:00:00 2001 From: talha Date: Thu, 6 Mar 2025 10:37:36 +0500 Subject: Making project work with clangd: - Moved a lot of items into separate header files - Still compiling everything as a single translation unit (but maybe a heavier translation unit [if that is possible]) - setup compile_flags, a way to use clangd without using a build system - stuff like clangd and cmake don't work well with unity builds, so I avoid jumping through hoops --- source/memory/arena.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/memory/arena.h') diff --git a/source/memory/arena.h b/source/memory/arena.h index ce167f9..ada70b2 100644 --- a/source/memory/arena.h +++ b/source/memory/arena.h @@ -1,6 +1,8 @@ #pragma once #include +#include +#include "../core.h" #ifndef ALIGNMENT #define ALIGNMENT (2*sizeof(void*)) -- cgit v1.2.3