From ff96d5935fcc6efcb5bd158e763f7f4b627a940c Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Tue, 29 Jul 2025 14:44:39 -0400 Subject: Invoke `clang++` on C++ code instead of `clang` (#7958) --- source/compiler-core/slang-gcc-compiler-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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 compiler; - if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang"), compiler))) + if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang++"), compiler))) { set->addCompiler(compiler); } -- cgit v1.2.3