We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2714b commit 93dc373Copy full SHA for 93dc373
Extension/src/LanguageServer/configurations.ts
@@ -296,7 +296,7 @@ export class CppProperties {
296
this.handleConfigurationChange();
297
}
298
public set CompilerDefaults(compilerDefaults: CompilerDefaults) {
299
- this.defaultCompilerPath = compilerDefaults.compilerPath;
+ this.defaultCompilerPath = compilerDefaults.trustedCompilerFound ? compilerDefaults.compilerPath : null;
300
this.knownCompilers = compilerDefaults.knownCompilers;
301
this.defaultCStandard = compilerDefaults.cStandard;
302
this.defaultCppStandard = compilerDefaults.cppStandard;
0 commit comments