We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4b8cb0 commit 390eb3bCopy full SHA for 390eb3b
src/cpptools.ts
@@ -432,8 +432,8 @@ export class CppConfigurationProvider implements cpptools.CustomConfigurationPro
432
let compilerToolchains: CodeModelToolchain | undefined;
433
if ("toolchains" in opts.codeModelContent) {
434
compilerToolchains = opts.codeModelContent.toolchains?.get(lang ?? "")
435
- || opts.codeModelContent.toolchains?.get('CXX')
436
- || opts.codeModelContent.toolchains?.get('C');
+ || opts.codeModelContent.toolchains?.get('CXX')
+ || opts.codeModelContent.toolchains?.get('C');
437
}
438
// If none of those work, fall back to the same order, but in the cache.
439
const compilerCache = opts.cache.get(`CMAKE_${lang}_COMPILER`)
0 commit comments