From c886ca811975e91cedca898a561ff65a5663272d Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Fri, 25 Oct 2019 14:19:56 -0700 Subject: Refactor semantic checking code into more files (#1097) The semantic checking logic was all inside `slang-check.cpp` and as a result this was a monster file that was extremely hard to follow. This change splits `slang-check.cpp` into several smaller files, although some of the resulting files are still quite large. This change attempts to be a copy-paste job as much as possible and does *not* perform any cleanup on naming, structure, duplication, etc. in the code it deal with. No function bodies or signatures have been touched. --- source/slang/slang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang.cpp') diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 26a846d6d..ed0e87045 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -5,13 +5,13 @@ #include "../core/slang-string-util.h" #include "../core/slang-shared-library.h" +#include "slang-check.h" #include "slang-parameter-binding.h" #include "slang-lower-to-ir.h" #include "slang-mangle.h" #include "slang-parser.h" #include "slang-preprocessor.h" #include "slang-reflection.h" -#include "slang-syntax-visitors.h" #include "slang-type-layout.h" #include "slang-state-serialize.h" -- cgit v1.2.3