diff options
| author | Sam Estep <sam@samestep.com> | 2025-07-29 14:44:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 18:44:39 +0000 |
| commit | ff96d5935fcc6efcb5bd158e763f7f4b627a940c (patch) | |
| tree | 0280208a38fd5c712b12dbcf25afa17b9a9092e9 /source | |
| parent | 855b1a262f3a769d44765e78f94e566d875b9286 (diff) | |
Invoke `clang++` on C++ code instead of `clang` (#7958)
Diffstat (limited to 'source')
| -rw-r--r-- | source/compiler-core/slang-gcc-compiler-util.cpp | 2 |
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); } |
