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-compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-compiler.cpp') diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index ec959536a..3fee24003 100644 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -6,6 +6,7 @@ #include "../core/slang-string-util.h" #include "../core/slang-hex-dump-util.h" +#include "slang-check.h" #include "slang-compiler.h" #include "slang-lexer.h" #include "slang-lower-to-ir.h" @@ -13,7 +14,6 @@ #include "slang-parameter-binding.h" #include "slang-parser.h" #include "slang-preprocessor.h" -#include "slang-syntax-visitors.h" #include "slang-type-layout.h" #include "slang-reflection.h" #include "slang-emit.h" -- cgit v1.2.3