Skip to content

Commit

Permalink
Actually pass native compiler arguments to intellisense engine (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse authored Jan 20, 2024
1 parent ccc008a commit 9048f92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vscode-wpilib/src/cppprovider/apiprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ export class ApiProvider implements CustomConfigurationProvider {
compilerPath: tc.cppPath,
defines: macros,
includePath: includePaths,
compilerArgs: args,
// tslint:disable-next-line:no-non-null-assertion no-any
standard: sb.langVersion! as any,
},
Expand Down Expand Up @@ -584,6 +585,7 @@ export class ApiProvider implements CustomConfigurationProvider {
compilerPath: tc.cPath,
defines: macros,
includePath: includePaths,
compilerArgs: args,
// tslint:disable-next-line:no-non-null-assertion no-any
standard: sb.langVersion! as any,
},
Expand All @@ -609,6 +611,7 @@ export class ApiProvider implements CustomConfigurationProvider {
compilerPath: tc.cppPath,
defines: macros,
includePath: includePaths,
compilerArgs: args,
standard: 'c++20',
},
uri: uriPath,
Expand Down

0 comments on commit 9048f92

Please sign in to comment.