summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
authorSam Estep <sam@samestep.com>2025-07-29 14:44:39 -0400
committerGitHub <noreply@github.com>2025-07-29 18:44:39 +0000
commitff96d5935fcc6efcb5bd158e763f7f4b627a940c (patch)
tree0280208a38fd5c712b12dbcf25afa17b9a9092e9 /source/compiler-core
parent855b1a262f3a769d44765e78f94e566d875b9286 (diff)
Invoke `clang++` on C++ code instead of `clang` (#7958)
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-gcc-compiler-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-gcc-compiler-util.cpp b/source/compiler-core/slang-gcc-compiler-util.cpp
index e192d615e..cabb77996 100644
--- a/source/compiler-core/slang-gcc-compiler-util.cpp
+++ b/source/compiler-core/slang-gcc-compiler-util.cpp
@@ -796,7 +796,7 @@ static SlangResult _parseGCCFamilyLine(
SLANG_UNUSED(loader);
ComPtr<IDownstreamCompiler> compiler;
- if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang"), compiler)))
+ if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang++"), compiler)))
{
set->addCompiler(compiler);
}