Skip to content

Commit 9048f92

Browse files
authored
Actually pass native compiler arguments to intellisense engine (#656)
1 parent ccc008a commit 9048f92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vscode-wpilib/src/cppprovider/apiprovider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export class ApiProvider implements CustomConfigurationProvider {
546546
compilerPath: tc.cppPath,
547547
defines: macros,
548548
includePath: includePaths,
549+
compilerArgs: args,
549550
// tslint:disable-next-line:no-non-null-assertion no-any
550551
standard: sb.langVersion! as any,
551552
},
@@ -584,6 +585,7 @@ export class ApiProvider implements CustomConfigurationProvider {
584585
compilerPath: tc.cPath,
585586
defines: macros,
586587
includePath: includePaths,
588+
compilerArgs: args,
587589
// tslint:disable-next-line:no-non-null-assertion no-any
588590
standard: sb.langVersion! as any,
589591
},
@@ -609,6 +611,7 @@ export class ApiProvider implements CustomConfigurationProvider {
609611
compilerPath: tc.cppPath,
610612
defines: macros,
611613
includePath: includePaths,
614+
compilerArgs: args,
612615
standard: 'c++20',
613616
},
614617
uri: uriPath,

0 commit comments

Comments
 (0)