summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-07-17 12:53:19 -0500
committerGitHub <noreply@github.com>2024-07-17 10:53:19 -0700
commit2db15080085856ed9b5f20642dbb354aac59a888 (patch)
tree4f6558b8c3aac5e5191edaa092230ecb449f4a44 /source
parent7d07bd29fee7dcd74fe73940723effc68f427e67 (diff)
Move the file public header files to `include` dir (#4636)
* Move the file public header files to `include` dir Close the issue (#4635). Move the following headers files to a `include` dir located at root dir of slang repo: slang-com-helper.h -> include/slang-com-helper.h slang-com-ptr.h -> include/slang-com-ptr.h slang-gfx.h -> include/slang-gfx.h slang.h -> include/slang.h Change cmake/SlangTarget.cmake to add include path to every target, and change the source file to use "#include <slang.h>" to include the public headers. The source code update is by the script like follow: ``` fileNames_slang=$(grep -r "\".*slang\.h\"" source/ -l) for fileName in "${fileNames_slang[@]}" do echo "$fileName" sed -i "s/\".*slang\.h\"/\"slang\.h\"/" $fileName done ``` * Fix the test issues * Fix cpu test issues by adding include seach path * Update cmake to not add include path for every target Also change "#include <slang.h>" to "include "slang.h" " to make the coding style consistent with other slang code. * Change public include to private include for unit-test and slang-glslang
Diffstat (limited to 'source')
-rw-r--r--source/compiler-core/slang-artifact-associated-impl.h4
-rw-r--r--source/compiler-core/slang-artifact-container-util.h4
-rw-r--r--source/compiler-core/slang-artifact-impl.h4
-rw-r--r--source/compiler-core/slang-artifact-representation-impl.h4
-rw-r--r--source/compiler-core/slang-artifact-util.h2
-rw-r--r--source/compiler-core/slang-artifact.h2
-rw-r--r--source/compiler-core/slang-core-diagnostics.h2
-rw-r--r--source/compiler-core/slang-diagnostic-sink.h2
-rw-r--r--source/compiler-core/slang-downstream-compiler-util.cpp2
-rw-r--r--source/compiler-core/slang-downstream-compiler.cpp2
-rw-r--r--source/compiler-core/slang-downstream-compiler.h2
-rw-r--r--source/compiler-core/slang-dxc-compiler.cpp2
-rw-r--r--source/compiler-core/slang-fxc-compiler.cpp2
-rw-r--r--source/compiler-core/slang-gcc-compiler-util.cpp4
-rw-r--r--source/compiler-core/slang-glslang-compiler.cpp2
-rw-r--r--source/compiler-core/slang-json-diagnostics.h2
-rw-r--r--source/compiler-core/slang-json-native.cpp2
-rw-r--r--source/compiler-core/slang-json-native.h6
-rw-r--r--source/compiler-core/slang-json-rpc.cpp2
-rw-r--r--source/compiler-core/slang-json-rpc.h6
-rw-r--r--source/compiler-core/slang-json-source-map-util.cpp2
-rw-r--r--source/compiler-core/slang-language-server-protocol.h6
-rw-r--r--source/compiler-core/slang-nvrtc-compiler.cpp2
-rw-r--r--source/compiler-core/slang-slice-allocator.h2
-rw-r--r--source/compiler-core/slang-source-embed-util.h2
-rw-r--r--source/compiler-core/slang-source-loc.h4
-rw-r--r--source/compiler-core/slang-source-map.h2
-rw-r--r--source/compiler-core/slang-test-server-protocol.h6
-rw-r--r--source/compiler-core/slang-visual-studio-compiler-util.cpp2
-rw-r--r--source/core/slang-archive-file-system.cpp4
-rw-r--r--source/core/slang-archive-file-system.h2
-rw-r--r--source/core/slang-blob.h6
-rw-r--r--source/core/slang-castable.h4
-rw-r--r--source/core/slang-chunked-list.h2
-rw-r--r--source/core/slang-command-line.cpp2
-rw-r--r--source/core/slang-common.h2
-rw-r--r--source/core/slang-crypto.h2
-rw-r--r--source/core/slang-deflate-compression-system.cpp4
-rw-r--r--source/core/slang-deflate-compression-system.h2
-rw-r--r--source/core/slang-file-system.cpp2
-rw-r--r--source/core/slang-file-system.h6
-rw-r--r--source/core/slang-free-list.h2
-rw-r--r--source/core/slang-hash.h2
-rw-r--r--source/core/slang-hex-dump-util.cpp2
-rw-r--r--source/core/slang-hex-dump-util.h2
-rw-r--r--source/core/slang-http.h6
-rw-r--r--source/core/slang-io.cpp2
-rw-r--r--source/core/slang-linked-list.h2
-rw-r--r--source/core/slang-list.h2
-rw-r--r--source/core/slang-lz4-compression-system.cpp4
-rw-r--r--source/core/slang-lz4-compression-system.h2
-rw-r--r--source/core/slang-memory-arena.h2
-rw-r--r--source/core/slang-memory-file-system.h2
-rw-r--r--source/core/slang-performance-profiler.h2
-rw-r--r--source/core/slang-persistent-cache.h2
-rw-r--r--source/core/slang-platform.h2
-rw-r--r--source/core/slang-process-util.cpp2
-rw-r--r--source/core/slang-random-generator.h2
-rw-r--r--source/core/slang-render-api-util.cpp2
-rw-r--r--source/core/slang-render-api-util.h2
-rw-r--r--source/core/slang-riff-file-system.cpp4
-rw-r--r--source/core/slang-riff.cpp2
-rw-r--r--source/core/slang-rtti-info.cpp2
-rw-r--r--source/core/slang-semantic-version.cpp2
-rw-r--r--source/core/slang-shared-library.cpp2
-rw-r--r--source/core/slang-shared-library.h6
-rw-r--r--source/core/slang-short-list.h2
-rw-r--r--source/core/slang-smart-pointer.h2
-rw-r--r--source/core/slang-std-writers.h2
-rw-r--r--source/core/slang-string-escape-util.cpp2
-rw-r--r--source/core/slang-string-util.h4
-rw-r--r--source/core/slang-test-tool-util.cpp2
-rw-r--r--source/core/slang-text-io.cpp2
-rw-r--r--source/core/slang-type-convert-util.h2
-rw-r--r--source/core/slang-type-text-util.h2
-rw-r--r--source/core/slang-writer.h4
-rw-r--r--source/core/slang-zip-file-system.cpp4
-rw-r--r--source/core/windows/slang-win-process.cpp2
-rw-r--r--source/slang-capture-replay/slang-composite-component-type.h6
-rw-r--r--source/slang-capture-replay/slang-entrypoint.h6
-rw-r--r--source/slang-capture-replay/slang-filesystem.h4
-rw-r--r--source/slang-capture-replay/slang-global-session.h6
-rw-r--r--source/slang-capture-replay/slang-module.h6
-rw-r--r--source/slang-capture-replay/slang-session.h6
-rw-r--r--source/slang-capture-replay/slang-type-conformance.h6
-rw-r--r--source/slang-glslang/slang-glslang.cpp2
-rw-r--r--source/slang-llvm/slang-llvm-filecheck.cpp6
-rw-r--r--source/slang-llvm/slang-llvm.cpp6
-rw-r--r--source/slang/slang-artifact-output-util.h2
-rw-r--r--source/slang/slang-ast-reflect.cpp2
-rw-r--r--source/slang/slang-ast-support-types.h2
-rw-r--r--source/slang/slang-compiler-options.h2
-rwxr-xr-xsource/slang/slang-compiler.h4
-rw-r--r--source/slang/slang-content-assist-info.h2
-rw-r--r--source/slang/slang-diagnostics.h2
-rw-r--r--source/slang/slang-ir-inline.h2
-rw-r--r--source/slang/slang-ir-obfuscate-loc.cpp2
-rw-r--r--source/slang/slang-ir-operator-shift-overflow.cpp2
-rw-r--r--source/slang/slang-language-server-auto-format.h2
-rw-r--r--source/slang/slang-language-server-document-symbols.h2
-rw-r--r--source/slang/slang-language-server-inlay-hints.h2
-rw-r--r--source/slang/slang-language-server-semantic-tokens.h2
-rw-r--r--source/slang/slang-language-server.cpp2
-rw-r--r--source/slang/slang-language-server.h2
-rw-r--r--source/slang/slang-lower-to-ir.cpp2
-rw-r--r--source/slang/slang-options.cpp2
-rw-r--r--source/slang/slang-parameter-binding.cpp2
-rw-r--r--source/slang/slang-parameter-binding.h2
-rw-r--r--source/slang/slang-profile.h2
-rw-r--r--source/slang/slang-ref-object-reflect.cpp2
-rw-r--r--source/slang/slang-reflection-api.cpp2
-rw-r--r--source/slang/slang-stdlib.cpp2
-rw-r--r--source/slang/slang-type-layout.h2
-rw-r--r--source/slang/slang-type-system-shared.h2
-rw-r--r--source/slang/slang-value-reflect.cpp2
-rw-r--r--source/slang/slang-workspace-version.h6
-rw-r--r--source/slang/slang.cpp2
-rw-r--r--source/slangc/main.cpp2
118 files changed, 168 insertions, 168 deletions
diff --git a/source/compiler-core/slang-artifact-associated-impl.h b/source/compiler-core/slang-artifact-associated-impl.h
index 8506f1628..5144fe7a7 100644
--- a/source/compiler-core/slang-artifact-associated-impl.h
+++ b/source/compiler-core/slang-artifact-associated-impl.h
@@ -2,8 +2,8 @@
#ifndef SLANG_ARTIFACT_ASSOCIATED_IMPL_H
#define SLANG_ARTIFACT_ASSOCIATED_IMPL_H
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
#include "../core/slang-memory-arena.h"
diff --git a/source/compiler-core/slang-artifact-container-util.h b/source/compiler-core/slang-artifact-container-util.h
index 68c1f11f5..eb0a12dfc 100644
--- a/source/compiler-core/slang-artifact-container-util.h
+++ b/source/compiler-core/slang-artifact-container-util.h
@@ -4,8 +4,8 @@
#include "slang-artifact-representation.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/compiler-core/slang-artifact-impl.h b/source/compiler-core/slang-artifact-impl.h
index 4862142a8..22547d3ef 100644
--- a/source/compiler-core/slang-artifact-impl.h
+++ b/source/compiler-core/slang-artifact-impl.h
@@ -4,8 +4,8 @@
#include "slang-artifact.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
diff --git a/source/compiler-core/slang-artifact-representation-impl.h b/source/compiler-core/slang-artifact-representation-impl.h
index 5c76b9e7c..034084950 100644
--- a/source/compiler-core/slang-artifact-representation-impl.h
+++ b/source/compiler-core/slang-artifact-representation-impl.h
@@ -4,8 +4,8 @@
#include "slang-artifact-representation.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
#include "../core/slang-memory-arena.h"
diff --git a/source/compiler-core/slang-artifact-util.h b/source/compiler-core/slang-artifact-util.h
index 792e6ff94..5341f309b 100644
--- a/source/compiler-core/slang-artifact-util.h
+++ b/source/compiler-core/slang-artifact-util.h
@@ -6,7 +6,7 @@
#include "slang-artifact-representation.h"
#include "slang-artifact-associated.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/compiler-core/slang-artifact.h b/source/compiler-core/slang-artifact.h
index 4f33f5e2e..400c85b2e 100644
--- a/source/compiler-core/slang-artifact.h
+++ b/source/compiler-core/slang-artifact.h
@@ -3,7 +3,7 @@
#define SLANG_ARTIFACT_H
#include "../core/slang-basic.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include <type_traits>
diff --git a/source/compiler-core/slang-core-diagnostics.h b/source/compiler-core/slang-core-diagnostics.h
index 2d56591fd..fd1906fae 100644
--- a/source/compiler-core/slang-core-diagnostics.h
+++ b/source/compiler-core/slang-core-diagnostics.h
@@ -8,7 +8,7 @@
#include "slang-diagnostic-sink.h"
#include "slang-token.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/compiler-core/slang-diagnostic-sink.h b/source/compiler-core/slang-diagnostic-sink.h
index 6e3c4ccb8..38a31752f 100644
--- a/source/compiler-core/slang-diagnostic-sink.h
+++ b/source/compiler-core/slang-diagnostic-sink.h
@@ -8,7 +8,7 @@
#include "slang-source-loc.h"
#include "slang-token.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/compiler-core/slang-downstream-compiler-util.cpp b/source/compiler-core/slang-downstream-compiler-util.cpp
index 70ecb8ad7..70063b772 100644
--- a/source/compiler-core/slang-downstream-compiler-util.cpp
+++ b/source/compiler-core/slang-downstream-compiler-util.cpp
@@ -2,7 +2,7 @@
#include "slang-downstream-compiler-util.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
#include "../core/slang-type-text-util.h"
diff --git a/source/compiler-core/slang-downstream-compiler.cpp b/source/compiler-core/slang-downstream-compiler.cpp
index 88081ad84..855319176 100644
--- a/source/compiler-core/slang-downstream-compiler.cpp
+++ b/source/compiler-core/slang-downstream-compiler.cpp
@@ -2,7 +2,7 @@
#include "slang-downstream-compiler.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
#include "../core/slang-type-text-util.h"
diff --git a/source/compiler-core/slang-downstream-compiler.h b/source/compiler-core/slang-downstream-compiler.h
index c8cd02783..14e924f8b 100644
--- a/source/compiler-core/slang-downstream-compiler.h
+++ b/source/compiler-core/slang-downstream-compiler.h
@@ -11,7 +11,7 @@
#include "../core/slang-io.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "slang-artifact.h"
#include "slang-artifact-associated.h"
diff --git a/source/compiler-core/slang-dxc-compiler.cpp b/source/compiler-core/slang-dxc-compiler.cpp
index fc42dfc40..aa005d47f 100644
--- a/source/compiler-core/slang-dxc-compiler.cpp
+++ b/source/compiler-core/slang-dxc-compiler.cpp
@@ -2,7 +2,7 @@
#include "slang-dxc-compiler.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-blob.h"
diff --git a/source/compiler-core/slang-fxc-compiler.cpp b/source/compiler-core/slang-fxc-compiler.cpp
index ed92cc3f8..e4a9f25c7 100644
--- a/source/compiler-core/slang-fxc-compiler.cpp
+++ b/source/compiler-core/slang-fxc-compiler.cpp
@@ -4,7 +4,7 @@
#if SLANG_ENABLE_DXBC_SUPPORT
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-blob.h"
diff --git a/source/compiler-core/slang-gcc-compiler-util.cpp b/source/compiler-core/slang-gcc-compiler-util.cpp
index 01f197875..875f7bea1 100644
--- a/source/compiler-core/slang-gcc-compiler-util.cpp
+++ b/source/compiler-core/slang-gcc-compiler-util.cpp
@@ -2,7 +2,7 @@
#include "slang-gcc-compiler-util.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
#include "../core/slang-io.h"
@@ -210,7 +210,7 @@ static SlangResult _parseGCCFamilyLine(SliceAllocator& allocator, const UnownedS
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)*/
/* /path/slang-cpp-prelude.h:4:10: fatal error: ../slang.h: No such file or directory
- #include "../slang.h"
+ #include "slang.h"
^~~~~~~~~~~~
compilation terminated.*/
diff --git a/source/compiler-core/slang-glslang-compiler.cpp b/source/compiler-core/slang-glslang-compiler.cpp
index 0335c33b4..e0a537757 100644
--- a/source/compiler-core/slang-glslang-compiler.cpp
+++ b/source/compiler-core/slang-glslang-compiler.cpp
@@ -2,7 +2,7 @@
#include "slang-glslang-compiler.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-blob.h"
diff --git a/source/compiler-core/slang-json-diagnostics.h b/source/compiler-core/slang-json-diagnostics.h
index 88ec0c550..d819d8947 100644
--- a/source/compiler-core/slang-json-diagnostics.h
+++ b/source/compiler-core/slang-json-diagnostics.h
@@ -8,7 +8,7 @@
#include "slang-diagnostic-sink.h"
#include "slang-token.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/compiler-core/slang-json-native.cpp b/source/compiler-core/slang-json-native.cpp
index 8b0ec1194..eb0f7d9ee 100644
--- a/source/compiler-core/slang-json-native.cpp
+++ b/source/compiler-core/slang-json-native.cpp
@@ -1,6 +1,6 @@
#include "slang-json-native.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-rtti-util.h"
diff --git a/source/compiler-core/slang-json-native.h b/source/compiler-core/slang-json-native.h
index 72e339621..6920d59e9 100644
--- a/source/compiler-core/slang-json-native.h
+++ b/source/compiler-core/slang-json-native.h
@@ -1,9 +1,9 @@
#ifndef SLANG_COMPILER_CORE_JSON_NATIVE_H
#define SLANG_COMPILER_CORE_JSON_NATIVE_H
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-json-value.h"
diff --git a/source/compiler-core/slang-json-rpc.cpp b/source/compiler-core/slang-json-rpc.cpp
index 3474718c7..f4a61da1e 100644
--- a/source/compiler-core/slang-json-rpc.cpp
+++ b/source/compiler-core/slang-json-rpc.cpp
@@ -1,6 +1,6 @@
#include "slang-json-rpc.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-json-native.h"
diff --git a/source/compiler-core/slang-json-rpc.h b/source/compiler-core/slang-json-rpc.h
index f32513b02..6baba7829 100644
--- a/source/compiler-core/slang-json-rpc.h
+++ b/source/compiler-core/slang-json-rpc.h
@@ -1,9 +1,9 @@
#ifndef SLANG_COMPILER_CORE_JSON_RPC_H
#define SLANG_COMPILER_CORE_JSON_RPC_H
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-json-value.h"
diff --git a/source/compiler-core/slang-json-source-map-util.cpp b/source/compiler-core/slang-json-source-map-util.cpp
index 30d722c4c..f66ee50da 100644
--- a/source/compiler-core/slang-json-source-map-util.cpp
+++ b/source/compiler-core/slang-json-source-map-util.cpp
@@ -1,6 +1,6 @@
#include "slang-json-source-map-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
#include "../core/slang-blob.h"
diff --git a/source/compiler-core/slang-language-server-protocol.h b/source/compiler-core/slang-language-server-protocol.h
index 3dcc90be1..ff5cd394e 100644
--- a/source/compiler-core/slang-language-server-protocol.h
+++ b/source/compiler-core/slang-language-server-protocol.h
@@ -1,8 +1,8 @@
#pragma once
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
#include "../../source/core/slang-rtti-info.h"
#include "../../source/compiler-core/slang-json-value.h"
diff --git a/source/compiler-core/slang-nvrtc-compiler.cpp b/source/compiler-core/slang-nvrtc-compiler.cpp
index b84b1a403..80fde277b 100644
--- a/source/compiler-core/slang-nvrtc-compiler.cpp
+++ b/source/compiler-core/slang-nvrtc-compiler.cpp
@@ -2,7 +2,7 @@
#include "slang-nvrtc-compiler.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-blob.h"
diff --git a/source/compiler-core/slang-slice-allocator.h b/source/compiler-core/slang-slice-allocator.h
index a6f0cd5c1..8d61fa211 100644
--- a/source/compiler-core/slang-slice-allocator.h
+++ b/source/compiler-core/slang-slice-allocator.h
@@ -4,7 +4,7 @@
// Has definition of CharSlice
#include "slang-artifact.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "../core/slang-memory-arena.h"
diff --git a/source/compiler-core/slang-source-embed-util.h b/source/compiler-core/slang-source-embed-util.h
index 70389cfe1..52115e4ef 100644
--- a/source/compiler-core/slang-source-embed-util.h
+++ b/source/compiler-core/slang-source-embed-util.h
@@ -6,7 +6,7 @@
#include "slang-artifact.h"
#include "slang-diagnostic-sink.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "../core/slang-name-value.h"
diff --git a/source/compiler-core/slang-source-loc.h b/source/compiler-core/slang-source-loc.h
index 0a94980d1..bf0be47f6 100644
--- a/source/compiler-core/slang-source-loc.h
+++ b/source/compiler-core/slang-source-loc.h
@@ -10,8 +10,8 @@
#include "slang-source-map.h"
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
namespace Slang {
diff --git a/source/compiler-core/slang-source-map.h b/source/compiler-core/slang-source-map.h
index 0c55d3a1a..4060fadb8 100644
--- a/source/compiler-core/slang-source-map.h
+++ b/source/compiler-core/slang-source-map.h
@@ -1,7 +1,7 @@
#ifndef SLANG_COMPILER_CORE_SOURCE_MAP_H
#define SLANG_COMPILER_CORE_SOURCE_MAP_H
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-string.h"
#include "../core/slang-list.h"
diff --git a/source/compiler-core/slang-test-server-protocol.h b/source/compiler-core/slang-test-server-protocol.h
index 8b61c4b39..b74a1a872 100644
--- a/source/compiler-core/slang-test-server-protocol.h
+++ b/source/compiler-core/slang-test-server-protocol.h
@@ -1,9 +1,9 @@
#ifndef SLANG_COMPILER_CORE_TEST_PROTOCOL_H
#define SLANG_COMPILER_CORE_TEST_PROTOCOL_H
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-rtti-info.h"
#include "slang-json-value.h"
diff --git a/source/compiler-core/slang-visual-studio-compiler-util.cpp b/source/compiler-core/slang-visual-studio-compiler-util.cpp
index 753d256a6..df3285608 100644
--- a/source/compiler-core/slang-visual-studio-compiler-util.cpp
+++ b/source/compiler-core/slang-visual-studio-compiler-util.cpp
@@ -2,7 +2,7 @@
#include "slang-visual-studio-compiler-util.h"
#include "../core/slang-common.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
#include "../core/slang-string-slice-pool.h"
diff --git a/source/core/slang-archive-file-system.cpp b/source/core/slang-archive-file-system.cpp
index 03237105d..e219fcbb5 100644
--- a/source/core/slang-archive-file-system.cpp
+++ b/source/core/slang-archive-file-system.cpp
@@ -1,7 +1,7 @@
#include "slang-archive-file-system.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-castable.h"
diff --git a/source/core/slang-archive-file-system.h b/source/core/slang-archive-file-system.h
index cee119c13..13b226019 100644
--- a/source/core/slang-archive-file-system.h
+++ b/source/core/slang-archive-file-system.h
@@ -3,7 +3,7 @@
#include "slang-basic.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "slang-compression-system.h"
diff --git a/source/core/slang-blob.h b/source/core/slang-blob.h
index e678680aa..4df8f0db6 100644
--- a/source/core/slang-blob.h
+++ b/source/core/slang-blob.h
@@ -1,15 +1,15 @@
#ifndef SLANG_CORE_BLOB_H
#define SLANG_CORE_BLOB_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-string.h"
#include "slang-list.h"
#include <stdarg.h>
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
diff --git a/source/core/slang-castable.h b/source/core/slang-castable.h
index dc6c49a89..e2b9c4a8e 100644
--- a/source/core/slang-castable.h
+++ b/source/core/slang-castable.h
@@ -3,8 +3,8 @@
#define SLANG_CASTABLE_H
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
diff --git a/source/core/slang-chunked-list.h b/source/core/slang-chunked-list.h
index 0ac26c945..d414eaefb 100644
--- a/source/core/slang-chunked-list.h
+++ b/source/core/slang-chunked-list.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_CHUNKED_LIST_H
#define SLANG_CORE_CHUNKED_LIST_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-allocator.h"
#include "slang-array-view.h"
diff --git a/source/core/slang-command-line.cpp b/source/core/slang-command-line.cpp
index 475270d69..bfd9ed11a 100644
--- a/source/core/slang-command-line.cpp
+++ b/source/core/slang-command-line.cpp
@@ -7,7 +7,7 @@
#include "slang-string-escape-util.h"
#include "slang-string-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
namespace Slang {
diff --git a/source/core/slang-common.h b/source/core/slang-common.h
index 7d455546a..362a509a7 100644
--- a/source/core/slang-common.h
+++ b/source/core/slang-common.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_COMMON_H
#define SLANG_CORE_COMMON_H
-#include "../../slang.h"
+#include "slang.h"
#include <assert.h>
diff --git a/source/core/slang-crypto.h b/source/core/slang-crypto.h
index 01d6004d0..feab88aa4 100644
--- a/source/core/slang-crypto.h
+++ b/source/core/slang-crypto.h
@@ -1,5 +1,5 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-string.h"
#include "../core/slang-blob.h"
#include "../core/slang-list.h"
diff --git a/source/core/slang-deflate-compression-system.cpp b/source/core/slang-deflate-compression-system.cpp
index a8e6302cf..4f1390240 100644
--- a/source/core/slang-deflate-compression-system.cpp
+++ b/source/core/slang-deflate-compression-system.cpp
@@ -1,7 +1,7 @@
#include "slang-deflate-compression-system.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
// We don't want compress #define to clash
#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES 1
diff --git a/source/core/slang-deflate-compression-system.h b/source/core/slang-deflate-compression-system.h
index 6dc96af5d..efed59e61 100644
--- a/source/core/slang-deflate-compression-system.h
+++ b/source/core/slang-deflate-compression-system.h
@@ -5,7 +5,7 @@
#include "slang-compression-system.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/core/slang-file-system.cpp b/source/core/slang-file-system.cpp
index 7c3cd83bb..d578e63d5 100644
--- a/source/core/slang-file-system.cpp
+++ b/source/core/slang-file-system.cpp
@@ -1,6 +1,6 @@
#include "slang-file-system.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "../core/slang-io.h"
#include "../core/slang-string-util.h"
diff --git a/source/core/slang-file-system.h b/source/core/slang-file-system.h
index 6e29e277c..dad2731d9 100644
--- a/source/core/slang-file-system.h
+++ b/source/core/slang-file-system.h
@@ -1,9 +1,9 @@
#ifndef SLANG_FILE_SYSTEM_H_INCLUDED
#define SLANG_FILE_SYSTEM_H_INCLUDED
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-blob.h"
diff --git a/source/core/slang-free-list.h b/source/core/slang-free-list.h
index 090c13613..5c4e55607 100644
--- a/source/core/slang-free-list.h
+++ b/source/core/slang-free-list.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_FREE_LIST_H
#define SLANG_CORE_FREE_LIST_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-common.h"
diff --git a/source/core/slang-hash.h b/source/core/slang-hash.h
index 9a173c4f8..7992e91fa 100644
--- a/source/core/slang-hash.h
+++ b/source/core/slang-hash.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_HASH_H
#define SLANG_CORE_HASH_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-math.h"
#include "../../external/unordered_dense/include/ankerl/unordered_dense.h"
#include <cstring>
diff --git a/source/core/slang-hex-dump-util.cpp b/source/core/slang-hex-dump-util.cpp
index 3a78c256a..46fe825ac 100644
--- a/source/core/slang-hex-dump-util.cpp
+++ b/source/core/slang-hex-dump-util.cpp
@@ -7,7 +7,7 @@
#include "slang-char-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-hash.h"
namespace Slang
diff --git a/source/core/slang-hex-dump-util.h b/source/core/slang-hex-dump-util.h
index f02728522..037355f2d 100644
--- a/source/core/slang-hex-dump-util.h
+++ b/source/core/slang-hex-dump-util.h
@@ -5,7 +5,7 @@
#include "slang-string.h"
#include "slang-list.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/core/slang-http.h b/source/core/slang-http.h
index 784357273..11d834bd8 100644
--- a/source/core/slang-http.h
+++ b/source/core/slang-http.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_HTTP_H
#define SLANG_CORE_HTTP_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-string.h"
#include "slang-list.h"
@@ -10,8 +10,8 @@
#include "slang-stream.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
namespace Slang {
diff --git a/source/core/slang-io.cpp b/source/core/slang-io.cpp
index c08f499b9..f5850a5b6 100644
--- a/source/core/slang-io.cpp
+++ b/source/core/slang-io.cpp
@@ -3,7 +3,7 @@
#include "slang-io.h"
#include "slang-exception.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-string-util.h"
#include "slang-char-util.h"
diff --git a/source/core/slang-linked-list.h b/source/core/slang-linked-list.h
index 840ef8cd6..d442b4d12 100644
--- a/source/core/slang-linked-list.h
+++ b/source/core/slang-linked-list.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_LINKED_LIST_H
#define SLANG_CORE_LINKED_LIST_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-allocator.h"
#include <type_traits>
diff --git a/source/core/slang-list.h b/source/core/slang-list.h
index c0fe28937..b1c67e438 100644
--- a/source/core/slang-list.h
+++ b/source/core/slang-list.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_LIST_H
#define SLANG_CORE_LIST_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-allocator.h"
#include "slang-math.h"
diff --git a/source/core/slang-lz4-compression-system.cpp b/source/core/slang-lz4-compression-system.cpp
index 4b8661534..c20b457df 100644
--- a/source/core/slang-lz4-compression-system.cpp
+++ b/source/core/slang-lz4-compression-system.cpp
@@ -1,7 +1,7 @@
#include "slang-lz4-compression-system.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-blob.h"
diff --git a/source/core/slang-lz4-compression-system.h b/source/core/slang-lz4-compression-system.h
index 1bd7cefcf..d74fbd61a 100644
--- a/source/core/slang-lz4-compression-system.h
+++ b/source/core/slang-lz4-compression-system.h
@@ -5,7 +5,7 @@
#include "slang-compression-system.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/core/slang-memory-arena.h b/source/core/slang-memory-arena.h
index 4d2372e44..cbd0fdc56 100644
--- a/source/core/slang-memory-arena.h
+++ b/source/core/slang-memory-arena.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_MEMORY_ARENA_H
#define SLANG_CORE_MEMORY_ARENA_H
-#include "../../slang.h"
+#include "slang.h"
#include <stdlib.h>
#include <string.h>
diff --git a/source/core/slang-memory-file-system.h b/source/core/slang-memory-file-system.h
index 785335986..321f7fe74 100644
--- a/source/core/slang-memory-file-system.h
+++ b/source/core/slang-memory-file-system.h
@@ -3,7 +3,7 @@
#include "slang-basic.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "slang-com-object.h"
namespace Slang
diff --git a/source/core/slang-performance-profiler.h b/source/core/slang-performance-profiler.h
index f7c62bb45..372a7b273 100644
--- a/source/core/slang-performance-profiler.h
+++ b/source/core/slang-performance-profiler.h
@@ -4,7 +4,7 @@
#include "slang-string.h"
#include <chrono>
#include <vector>
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-list.h"
namespace Slang
diff --git a/source/core/slang-persistent-cache.h b/source/core/slang-persistent-cache.h
index db5ef0a2e..02c74be79 100644
--- a/source/core/slang-persistent-cache.h
+++ b/source/core/slang-persistent-cache.h
@@ -1,5 +1,5 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-crypto.h"
#include "../core/slang-io.h"
#include "../core/slang-string.h"
diff --git a/source/core/slang-platform.h b/source/core/slang-platform.h
index 2aa9184b0..f8701e305 100644
--- a/source/core/slang-platform.h
+++ b/source/core/slang-platform.h
@@ -2,7 +2,7 @@
#ifndef SLANG_CORE_PLATFORM_H
#define SLANG_CORE_PLATFORM_H
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-string.h"
namespace Slang
diff --git a/source/core/slang-process-util.cpp b/source/core/slang-process-util.cpp
index 99c81ee5c..47484156d 100644
--- a/source/core/slang-process-util.cpp
+++ b/source/core/slang-process-util.cpp
@@ -6,7 +6,7 @@
#include "slang-string-escape-util.h"
#include "slang-string-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
namespace Slang {
diff --git a/source/core/slang-random-generator.h b/source/core/slang-random-generator.h
index 392b4cb4c..fa83fec3b 100644
--- a/source/core/slang-random-generator.h
+++ b/source/core/slang-random-generator.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_RANDOM_GENERATOR_H
#define SLANG_CORE_RANDOM_GENERATOR_H
-#include "../../slang.h"
+#include "slang.h"
#include <stdlib.h>
#include <string.h>
diff --git a/source/core/slang-render-api-util.cpp b/source/core/slang-render-api-util.cpp
index fce66be90..4fd345840 100644
--- a/source/core/slang-render-api-util.cpp
+++ b/source/core/slang-render-api-util.cpp
@@ -1,7 +1,7 @@
#include "slang-render-api-util.h"
-#include "../../slang.h"
+#include "slang.h"
#include "slang-list.h"
#include "slang-string-util.h"
diff --git a/source/core/slang-render-api-util.h b/source/core/slang-render-api-util.h
index 7a2848038..41728e5f2 100644
--- a/source/core/slang-render-api-util.h
+++ b/source/core/slang-render-api-util.h
@@ -3,7 +3,7 @@
#include "../../source/core/slang-string.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
namespace Slang
{
diff --git a/source/core/slang-riff-file-system.cpp b/source/core/slang-riff-file-system.cpp
index 1fb867500..1072db186 100644
--- a/source/core/slang-riff-file-system.cpp
+++ b/source/core/slang-riff-file-system.cpp
@@ -1,7 +1,7 @@
#include "slang-riff-file-system.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-blob.h"
diff --git a/source/core/slang-riff.cpp b/source/core/slang-riff.cpp
index a90c65db9..83693433e 100644
--- a/source/core/slang-riff.cpp
+++ b/source/core/slang-riff.cpp
@@ -1,6 +1,6 @@
#include "slang-riff.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-hex-dump-util.h"
diff --git a/source/core/slang-rtti-info.cpp b/source/core/slang-rtti-info.cpp
index 9e0a3796a..de0460082 100644
--- a/source/core/slang-rtti-info.cpp
+++ b/source/core/slang-rtti-info.cpp
@@ -1,6 +1,6 @@
#include "slang-rtti-info.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-rtti-util.h"
diff --git a/source/core/slang-semantic-version.cpp b/source/core/slang-semantic-version.cpp
index 550ea993b..9e68de746 100644
--- a/source/core/slang-semantic-version.cpp
+++ b/source/core/slang-semantic-version.cpp
@@ -1,7 +1,7 @@
// slang-semantic-version.cpp
#include "slang-semantic-version.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../core/slang-string-util.h"
diff --git a/source/core/slang-shared-library.cpp b/source/core/slang-shared-library.cpp
index c3991ad06..34464597c 100644
--- a/source/core/slang-shared-library.cpp
+++ b/source/core/slang-shared-library.cpp
@@ -1,6 +1,6 @@
#include "slang-shared-library.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "slang-io.h"
#include "slang-string-util.h"
diff --git a/source/core/slang-shared-library.h b/source/core/slang-shared-library.h
index ab91a6501..d6c1618ec 100644
--- a/source/core/slang-shared-library.h
+++ b/source/core/slang-shared-library.h
@@ -1,9 +1,9 @@
#ifndef SLANG_CORE_SHARED_LIBRARY_H
#define SLANG_CORE_SHARED_LIBRARY_H
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "../core/slang-com-object.h"
#include "../core/slang-io.h"
diff --git a/source/core/slang-short-list.h b/source/core/slang-short-list.h
index adbb935e6..66165fc72 100644
--- a/source/core/slang-short-list.h
+++ b/source/core/slang-short-list.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_SHORT_LIST_H
#define SLANG_CORE_SHORT_LIST_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-allocator.h"
#include "slang-math.h"
diff --git a/source/core/slang-smart-pointer.h b/source/core/slang-smart-pointer.h
index a161f1b83..5cf8e4323 100644
--- a/source/core/slang-smart-pointer.h
+++ b/source/core/slang-smart-pointer.h
@@ -5,7 +5,7 @@
#include "slang-hash.h"
#include "slang-type-traits.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/core/slang-std-writers.h b/source/core/slang-std-writers.h
index 84447186a..e99b386e3 100644
--- a/source/core/slang-std-writers.h
+++ b/source/core/slang-std-writers.h
@@ -2,7 +2,7 @@
#define SLANG_CORE_STD_WRITERS_H
#include "slang-writer.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/core/slang-string-escape-util.cpp b/source/core/slang-string-escape-util.cpp
index 334c1aae5..77399552e 100644
--- a/source/core/slang-string-escape-util.cpp
+++ b/source/core/slang-string-escape-util.cpp
@@ -4,7 +4,7 @@
#include "slang-text-io.h"
#include "slang-memory-arena.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
namespace Slang {
diff --git a/source/core/slang-string-util.h b/source/core/slang-string-util.h
index 7e5733cbb..c0a8f6973 100644
--- a/source/core/slang-string-util.h
+++ b/source/core/slang-string-util.h
@@ -6,8 +6,8 @@
#include <stdarg.h>
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
namespace Slang {
diff --git a/source/core/slang-test-tool-util.cpp b/source/core/slang-test-tool-util.cpp
index 74802e233..dad06effe 100644
--- a/source/core/slang-test-tool-util.cpp
+++ b/source/core/slang-test-tool-util.cpp
@@ -1,7 +1,7 @@
#include "slang-test-tool-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "slang-io.h"
#include "slang-string-util.h"
diff --git a/source/core/slang-text-io.cpp b/source/core/slang-text-io.cpp
index 327ef55de..f7257c1ee 100644
--- a/source/core/slang-text-io.cpp
+++ b/source/core/slang-text-io.cpp
@@ -1,6 +1,6 @@
#include "slang-text-io.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
namespace Slang
{
diff --git a/source/core/slang-type-convert-util.h b/source/core/slang-type-convert-util.h
index 00b47a154..70565b896 100644
--- a/source/core/slang-type-convert-util.h
+++ b/source/core/slang-type-convert-util.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_TYPE_CONVERT_UTIL_H
#define SLANG_CORE_TYPE_CONVERT_UTIL_H
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/core/slang-type-text-util.h b/source/core/slang-type-text-util.h
index 219dcd5f2..6d07e7d58 100644
--- a/source/core/slang-type-text-util.h
+++ b/source/core/slang-type-text-util.h
@@ -1,7 +1,7 @@
#ifndef SLANG_CORE_TYPE_TEXT_UTIL_H
#define SLANG_CORE_TYPE_TEXT_UTIL_H
-#include "../../slang.h"
+#include "slang.h"
#include "slang-string.h"
#include "slang-array-view.h"
diff --git a/source/core/slang-writer.h b/source/core/slang-writer.h
index 2a86af629..e29939161 100644
--- a/source/core/slang-writer.h
+++ b/source/core/slang-writer.h
@@ -3,8 +3,8 @@
#include "slang-string.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-list.h"
diff --git a/source/core/slang-zip-file-system.cpp b/source/core/slang-zip-file-system.cpp
index 9944bd9cf..02d4c9a2b 100644
--- a/source/core/slang-zip-file-system.cpp
+++ b/source/core/slang-zip-file-system.cpp
@@ -1,7 +1,7 @@
#include "slang-zip-file-system.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "slang-io.h"
#include "slang-string-util.h"
diff --git a/source/core/windows/slang-win-process.cpp b/source/core/windows/slang-win-process.cpp
index 8b41393ae..3aa21deb5 100644
--- a/source/core/windows/slang-win-process.cpp
+++ b/source/core/windows/slang-win-process.cpp
@@ -6,7 +6,7 @@
#include "../slang-string-util.h"
#include "../slang-process-util.h"
-#include "../../../slang-com-helper.h"
+#include "slang-com-helper.h"
#ifdef _WIN32
// TODO: We could try to avoid including this at all, but it would
diff --git a/source/slang-capture-replay/slang-composite-component-type.h b/source/slang-capture-replay/slang-composite-component-type.h
index adafe5b11..61ebe4cc0 100644
--- a/source/slang-capture-replay/slang-composite-component-type.h
+++ b/source/slang-capture-replay/slang-composite-component-type.h
@@ -1,9 +1,9 @@
#ifndef SLANG_COMPOSITE_COMPONENT_TYPE_H
#define SLANG_COMPOSITE_COMPONENT_TYPE_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "../core/slang-dictionary.h"
#include "../slang/slang-compiler.h"
diff --git a/source/slang-capture-replay/slang-entrypoint.h b/source/slang-capture-replay/slang-entrypoint.h
index 06a577069..5dbe9b14b 100644
--- a/source/slang-capture-replay/slang-entrypoint.h
+++ b/source/slang-capture-replay/slang-entrypoint.h
@@ -1,9 +1,9 @@
#ifndef SLANG_ENTRY_POINT_H
#define SLANG_ENTRY_POINT_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "../core/slang-dictionary.h"
#include "../slang/slang-compiler.h"
diff --git a/source/slang-capture-replay/slang-filesystem.h b/source/slang-capture-replay/slang-filesystem.h
index f4435c994..1a7c8c2e2 100644
--- a/source/slang-capture-replay/slang-filesystem.h
+++ b/source/slang-capture-replay/slang-filesystem.h
@@ -2,8 +2,8 @@
#define SLANG_FILE_SYSTEM_H
#include "../core/slang-com-object.h"
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include "capture-manager.h"
namespace SlangCapture
diff --git a/source/slang-capture-replay/slang-global-session.h b/source/slang-capture-replay/slang-global-session.h
index ef7036baf..ae451505f 100644
--- a/source/slang-capture-replay/slang-global-session.h
+++ b/source/slang-capture-replay/slang-global-session.h
@@ -1,9 +1,9 @@
#ifndef SLANG_GLOBAL_SESSION_H
#define SLANG_GLOBAL_SESSION_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "capture-manager.h"
diff --git a/source/slang-capture-replay/slang-module.h b/source/slang-capture-replay/slang-module.h
index 5243b8777..de63b7967 100644
--- a/source/slang-capture-replay/slang-module.h
+++ b/source/slang-capture-replay/slang-module.h
@@ -1,9 +1,9 @@
#ifndef SLANG_MODULE_H
#define SLANG_MODULE_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "../slang/slang-compiler.h"
#include "slang-entrypoint.h"
diff --git a/source/slang-capture-replay/slang-session.h b/source/slang-capture-replay/slang-session.h
index 161500172..23f818695 100644
--- a/source/slang-capture-replay/slang-session.h
+++ b/source/slang-capture-replay/slang-session.h
@@ -1,9 +1,9 @@
#ifndef SLANG_SESSION_H
#define SLANG_SESSION_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "../core/slang-dictionary.h"
#include "../slang/slang-compiler.h"
diff --git a/source/slang-capture-replay/slang-type-conformance.h b/source/slang-capture-replay/slang-type-conformance.h
index a37fd8daf..2c36abbfb 100644
--- a/source/slang-capture-replay/slang-type-conformance.h
+++ b/source/slang-capture-replay/slang-type-conformance.h
@@ -1,9 +1,9 @@
#ifndef SLANG_TYPE_CONFORMANCE_H
#define SLANG_TYPE_CONFORMANCE_H
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
+#include "slang-com-helper.h"
#include "../core/slang-smart-pointer.h"
#include "../core/slang-dictionary.h"
#include "../slang/slang-compiler.h"
diff --git a/source/slang-glslang/slang-glslang.cpp b/source/slang-glslang/slang-glslang.cpp
index 32db16259..cdbc95031 100644
--- a/source/slang-glslang/slang-glslang.cpp
+++ b/source/slang-glslang/slang-glslang.cpp
@@ -13,7 +13,7 @@
#include "glslang/MachineIndependent/localintermediate.h"
-#include "../../slang.h"
+#include "slang.h"
#include "spirv-tools/optimizer.hpp"
#include "spirv-tools/libspirv.h"
diff --git a/source/slang-llvm/slang-llvm-filecheck.cpp b/source/slang-llvm/slang-llvm-filecheck.cpp
index bd71eac05..524950837 100644
--- a/source/slang-llvm/slang-llvm-filecheck.cpp
+++ b/source/slang-llvm/slang-llvm-filecheck.cpp
@@ -5,9 +5,9 @@
#include <llvm/Support/raw_ostream.h>
#include <llvm/FileCheck/FileCheck.h>
-#include <slang.h>
-#include <slang-com-helper.h>
-#include <slang-com-ptr.h>
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include <core/slang-com-object.h>
#include <tools/slang-test/filecheck.h>
diff --git a/source/slang-llvm/slang-llvm.cpp b/source/slang-llvm/slang-llvm.cpp
index 8ea88f09c..0c14fbeb6 100644
--- a/source/slang-llvm/slang-llvm.cpp
+++ b/source/slang-llvm/slang-llvm.cpp
@@ -57,9 +57,9 @@
// Slang
-#include <slang.h>
-#include <slang-com-helper.h>
-#include <slang-com-ptr.h>
+#include "slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
#include <core/slang-list.h>
#include <core/slang-string.h>
diff --git a/source/slang/slang-artifact-output-util.h b/source/slang/slang-artifact-output-util.h
index 3c8b2cfc7..13682c579 100644
--- a/source/slang/slang-artifact-output-util.h
+++ b/source/slang/slang-artifact-output-util.h
@@ -6,7 +6,7 @@
#include "../compiler-core/slang-artifact.h"
#include "../compiler-core/slang-diagnostic-sink.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
namespace Slang
{
diff --git a/source/slang/slang-ast-reflect.cpp b/source/slang/slang-ast-reflect.cpp
index 66e57a744..a91ec0618 100644
--- a/source/slang/slang-ast-reflect.cpp
+++ b/source/slang/slang-ast-reflect.cpp
@@ -1,4 +1,4 @@
-#include "../../slang.h"
+#include "slang.h"
#include "slang-ast-reflect.h"
diff --git a/source/slang/slang-ast-support-types.h b/source/slang/slang-ast-support-types.h
index 76c638693..f709345d5 100644
--- a/source/slang/slang-ast-support-types.h
+++ b/source/slang/slang-ast-support-types.h
@@ -9,7 +9,7 @@
#include "slang-profile.h"
#include "slang-type-system-shared.h"
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-semantic-version.h"
diff --git a/source/slang/slang-compiler-options.h b/source/slang/slang-compiler-options.h
index e1ce21789..dae6d49e5 100644
--- a/source/slang/slang-compiler-options.h
+++ b/source/slang/slang-compiler-options.h
@@ -1,7 +1,7 @@
#ifndef SLANG_COMPILER_OPTIONS_H
#define SLANG_COMPILER_OPTIONS_H
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "../core/slang-crypto.h"
#include "slang-generated-capability-defs.h"
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h
index e9660f7ed..35b2fcf44 100755
--- a/source/slang/slang-compiler.h
+++ b/source/slang/slang-compiler.h
@@ -21,7 +21,7 @@
#include "../core/slang-file-system.h"
-#include "../../slang-com-ptr.h"
+#include "slang-com-ptr.h"
#include "slang-capability.h"
#include "slang-diagnostics.h"
@@ -35,7 +35,7 @@
#include "../compiler-core/slang-artifact-representation-impl.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/slang/slang-content-assist-info.h b/source/slang/slang-content-assist-info.h
index 8f4105184..5487a1f69 100644
--- a/source/slang/slang-content-assist-info.h
+++ b/source/slang/slang-content-assist-info.h
@@ -3,7 +3,7 @@
#pragma once
#include "slang-syntax.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/slang/slang-diagnostics.h b/source/slang/slang-diagnostics.h
index 299b63827..202ee0cf4 100644
--- a/source/slang/slang-diagnostics.h
+++ b/source/slang/slang-diagnostics.h
@@ -8,7 +8,7 @@
#include "../compiler-core/slang-diagnostic-sink.h"
#include "../compiler-core/slang-token.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/slang/slang-ir-inline.h b/source/slang/slang-ir-inline.h
index 1b37a28ae..acca0a61b 100644
--- a/source/slang/slang-ir-inline.h
+++ b/source/slang/slang-ir-inline.h
@@ -1,7 +1,7 @@
// slang-ir-inline.h
#pragma once
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "core/slang-basic.h"
namespace Slang
diff --git a/source/slang/slang-ir-obfuscate-loc.cpp b/source/slang/slang-ir-obfuscate-loc.cpp
index 79497e7a3..be648596e 100644
--- a/source/slang/slang-ir-obfuscate-loc.cpp
+++ b/source/slang/slang-ir-obfuscate-loc.cpp
@@ -1,7 +1,7 @@
// slang-ir-obfuscate-loc.cpp
#include "slang-ir-obfuscate-loc.h"
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-random-generator.h"
#include "../core/slang-stable-hash.h"
diff --git a/source/slang/slang-ir-operator-shift-overflow.cpp b/source/slang/slang-ir-operator-shift-overflow.cpp
index 33ee53262..5f829f05a 100644
--- a/source/slang/slang-ir-operator-shift-overflow.cpp
+++ b/source/slang/slang-ir-operator-shift-overflow.cpp
@@ -1,7 +1,7 @@
// slang-ir-operator-shift-overflow.cpp
#include "slang-ir-operator-shift-overflow.h"
-#include "../../slang.h"
+#include "slang.h"
#include "slang-ir.h"
#include "slang-ir-insts.h"
#include "slang-ir-layout.h"
diff --git a/source/slang/slang-language-server-auto-format.h b/source/slang/slang-language-server-auto-format.h
index e2cf89a25..95cc02764 100644
--- a/source/slang/slang-language-server-auto-format.h
+++ b/source/slang/slang-language-server-auto-format.h
@@ -1,6 +1,6 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "slang-workspace-version.h"
diff --git a/source/slang/slang-language-server-document-symbols.h b/source/slang/slang-language-server-document-symbols.h
index 65e84a6b2..6367c199b 100644
--- a/source/slang/slang-language-server-document-symbols.h
+++ b/source/slang/slang-language-server-document-symbols.h
@@ -1,6 +1,6 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "slang-ast-all.h"
#include "slang-syntax.h"
diff --git a/source/slang/slang-language-server-inlay-hints.h b/source/slang/slang-language-server-inlay-hints.h
index 50ea67c45..b7dfef98b 100644
--- a/source/slang/slang-language-server-inlay-hints.h
+++ b/source/slang/slang-language-server-inlay-hints.h
@@ -1,6 +1,6 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "slang-ast-all.h"
#include "slang-syntax.h"
diff --git a/source/slang/slang-language-server-semantic-tokens.h b/source/slang/slang-language-server-semantic-tokens.h
index 8a736345f..b29da5375 100644
--- a/source/slang/slang-language-server-semantic-tokens.h
+++ b/source/slang/slang-language-server-semantic-tokens.h
@@ -1,6 +1,6 @@
#pragma once
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "slang-ast-all.h"
#include "slang-syntax.h"
diff --git a/source/slang/slang-language-server.cpp b/source/slang/slang-language-server.cpp
index 8f71666dd..09b14932c 100644
--- a/source/slang/slang-language-server.cpp
+++ b/source/slang/slang-language-server.cpp
@@ -13,7 +13,7 @@
#include "../core/slang-char-util.h"
#include "../core/slang-string-util.h"
-#include "../../slang-com-helper.h"
+#include "slang-com-helper.h"
#include "../compiler-core/slang-json-native.h"
#include "../compiler-core/slang-json-rpc-connection.h"
#include "../compiler-core/slang-language-server-protocol.h"
diff --git a/source/slang/slang-language-server.h b/source/slang/slang-language-server.h
index 956ad9769..0a157819d 100644
--- a/source/slang/slang-language-server.h
+++ b/source/slang/slang-language-server.h
@@ -1,6 +1,6 @@
#pragma once
#include <chrono>
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-range.h"
#include "../compiler-core/slang-json-rpc.h"
#include "../compiler-core/slang-json-rpc-connection.h"
diff --git a/source/slang/slang-lower-to-ir.cpp b/source/slang/slang-lower-to-ir.cpp
index d8d573d63..b86b7b177 100644
--- a/source/slang/slang-lower-to-ir.cpp
+++ b/source/slang/slang-lower-to-ir.cpp
@@ -1,7 +1,7 @@
// lower.cpp
#include "slang-lower-to-ir.h"
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-random-generator.h"
#include "../core/slang-hash.h"
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 87c9b1192..4670af9df 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -5,7 +5,7 @@
#include "slang-options.h"
-#include "../../slang.h"
+#include "slang.h"
#include "slang-compiler.h"
#include "slang-profile.h"
diff --git a/source/slang/slang-parameter-binding.cpp b/source/slang/slang-parameter-binding.cpp
index 046c35ef9..8b15126db 100644
--- a/source/slang/slang-parameter-binding.cpp
+++ b/source/slang/slang-parameter-binding.cpp
@@ -10,7 +10,7 @@
#include "slang-ir-string-hash.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang {
diff --git a/source/slang/slang-parameter-binding.h b/source/slang/slang-parameter-binding.h
index e2530e34e..3bf44f90d 100644
--- a/source/slang/slang-parameter-binding.h
+++ b/source/slang/slang-parameter-binding.h
@@ -4,7 +4,7 @@
#include "../core/slang-basic.h"
#include "slang-syntax.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang {
diff --git a/source/slang/slang-profile.h b/source/slang/slang-profile.h
index 55855b91d..d07a4555f 100644
--- a/source/slang/slang-profile.h
+++ b/source/slang/slang-profile.h
@@ -2,7 +2,7 @@
#define SLANG_PROFILE_H_INCLUDED
#include "../core/slang-basic.h"
-#include "../../slang.h"
+#include "slang.h"
#include "slang-capability.h"
namespace Slang
diff --git a/source/slang/slang-ref-object-reflect.cpp b/source/slang/slang-ref-object-reflect.cpp
index f07dcbba7..59c948d38 100644
--- a/source/slang/slang-ref-object-reflect.cpp
+++ b/source/slang/slang-ref-object-reflect.cpp
@@ -1,4 +1,4 @@
-#include "../../slang.h"
+#include "slang.h"
#include "slang-ref-object-reflect.h"
diff --git a/source/slang/slang-reflection-api.cpp b/source/slang/slang-reflection-api.cpp
index 0642caeb6..d0d09f814 100644
--- a/source/slang/slang-reflection-api.cpp
+++ b/source/slang/slang-reflection-api.cpp
@@ -3,7 +3,7 @@
#include "../core/slang-basic.h"
#include "slang-syntax.h"
-#include "../../slang.h"
+#include "slang.h"
#include "slang-compiler.h"
#include "slang-type-layout.h"
diff --git a/source/slang/slang-stdlib.cpp b/source/slang/slang-stdlib.cpp
index 3c8b48e00..dbc358c18 100644
--- a/source/slang/slang-stdlib.cpp
+++ b/source/slang/slang-stdlib.cpp
@@ -349,7 +349,7 @@ namespace Slang
{
const String path = getStdlibPath();
StringBuilder sb;
-#include "glsl.meta.slang.h"
+ #include "glsl.meta.slang.h"
glslLibraryCode = StringBlob::moveCreate(sb);
}
return glslLibraryCode;
diff --git a/source/slang/slang-type-layout.h b/source/slang/slang-type-layout.h
index f29a38435..37c0cd1e7 100644
--- a/source/slang/slang-type-layout.h
+++ b/source/slang/slang-type-layout.h
@@ -6,7 +6,7 @@
#include "slang-profile.h"
#include "slang-syntax.h"
-#include "../../slang.h"
+#include "slang.h"
namespace Slang {
diff --git a/source/slang/slang-type-system-shared.h b/source/slang/slang-type-system-shared.h
index 1c8dd56aa..2f467a05a 100644
--- a/source/slang/slang-type-system-shared.h
+++ b/source/slang/slang-type-system-shared.h
@@ -1,7 +1,7 @@
#ifndef SLANG_TYPE_SYSTEM_SHARED_H
#define SLANG_TYPE_SYSTEM_SHARED_H
-#include "../../slang.h"
+#include "slang.h"
namespace Slang
{
diff --git a/source/slang/slang-value-reflect.cpp b/source/slang/slang-value-reflect.cpp
index 3c19deba4..bcfde06e5 100644
--- a/source/slang/slang-value-reflect.cpp
+++ b/source/slang/slang-value-reflect.cpp
@@ -1,4 +1,4 @@
-#include "../../slang.h"
+#include "slang.h"
#include "slang-value-reflect.h"
diff --git a/source/slang/slang-workspace-version.h b/source/slang/slang-workspace-version.h
index 28d6e1fe2..44ab6b43c 100644
--- a/source/slang/slang-workspace-version.h
+++ b/source/slang/slang-workspace-version.h
@@ -1,8 +1,8 @@
#pragma once
-#include "../../slang-com-helper.h"
-#include "../../slang-com-ptr.h"
-#include "../../slang.h"
+#include "slang-com-helper.h"
+#include "slang-com-ptr.h"
+#include "slang.h"
#include "../core/slang-basic.h"
#include "../core/slang-com-object.h"
#include "../compiler-core/slang-language-server-protocol.h"
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 9827f9c5c..f28d3cdeb 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -1,4 +1,4 @@
-#include "../../slang.h"
+#include "slang.h"
#include "../core/slang-io.h"
#include "../core/slang-string-util.h"
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp
index b86472617..e69a6655d 100644
--- a/source/slangc/main.cpp
+++ b/source/slangc/main.cpp
@@ -1,6 +1,6 @@
// main.cpp
-#include "../../slang.h"
+#include "slang.h"
SLANG_API void spSetCommandLineCompilerMode(SlangCompileRequest* request);