C++: Add feature flag for TRAP caching.

This commit is contained in:
Alexandre Boulgakov
2024-01-15 18:20:12 +00:00
committed by GitHub
parent b96e5e1158
commit 2949ab83fb
3 changed files with 13 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ export interface FeatureEnablement {
*/
export enum Feature {
CppDependencyInstallation = "cpp_dependency_installation_enabled",
CppTrapCachingEnabled = "cpp_trap_caching_enabled",
DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled",
DisablePythonDependencyInstallationEnabled = "disable_python_dependency_installation_enabled",
PythonDefaultIsToSkipDependencyInstallationEnabled = "python_default_is_to_skip_dependency_installation_enabled",
@@ -62,6 +63,11 @@ export const featureConfig: Record<
minimumVersion: "2.15.0",
defaultValue: false,
},
[Feature.CppTrapCachingEnabled]: {
envVar: "CODEQL_CPP_TRAP_CACHING",
minimumVersion: undefined,
defaultValue: false,
},
[Feature.DisableKotlinAnalysisEnabled]: {
envVar: "CODEQL_DISABLE_KOTLIN_ANALYSIS",
minimumVersion: undefined,