@@ -696,7 +696,7 @@ def O_flag : Flag<["-"], "O">, Flags<[CC1Option]>, Alias<O>, AliasArgs<["1"]>;
696
696
def Ofast : Joined<["-"], "Ofast">, Group<O_Group>, Flags<[CC1Option]>;
697
697
def P : Flag<["-"], "P">, Flags<[CC1Option]>, Group<Preprocessor_Group>,
698
698
HelpText<"Disable linemarker output in -E mode">,
699
- MarshallingInfoFlag <"PreprocessorOutputOpts.ShowLineMarkers", "true">, IsNegative ;
699
+ MarshallingInfoNegativeFlag <"PreprocessorOutputOpts.ShowLineMarkers"> ;
700
700
def Qy : Flag<["-"], "Qy">, Flags<[CC1Option]>,
701
701
HelpText<"Emit metadata containing compiler name and version">;
702
702
def Qn : Flag<["-"], "Qn">, Flags<[CC1Option]>,
@@ -1212,7 +1212,7 @@ def : Flag<["-"], "frecord-gcc-switches">, Alias<frecord_command_line>;
1212
1212
def : Flag<["-"], "fno-record-gcc-switches">, Alias<fno_record_command_line>;
1213
1213
def fcommon : Flag<["-"], "fcommon">, Group<f_Group>,
1214
1214
Flags<[CoreOption, CC1Option]>, HelpText<"Place uninitialized global variables in a common block">,
1215
- MarshallingInfoFlag <"CodeGenOpts.NoCommon", "true">, IsNegative ;
1215
+ MarshallingInfoNegativeFlag <"CodeGenOpts.NoCommon"> ;
1216
1216
def fcompile_resource_EQ : Joined<["-"], "fcompile-resource=">, Group<f_Group>;
1217
1217
defm complete_member_pointers : BoolOption<"complete-member-pointers",
1218
1218
"LangOpts->CompleteMemberPointers", DefaultsToFalse,
@@ -1856,7 +1856,7 @@ def fmodules_validate_once_per_build_session : Flag<["-"], "fmodules-validate-on
1856
1856
def fmodules_disable_diagnostic_validation : Flag<["-"], "fmodules-disable-diagnostic-validation">,
1857
1857
Group<i_Group>, Flags<[CC1Option]>,
1858
1858
HelpText<"Disable validation of the diagnostic options when loading the module">,
1859
- MarshallingInfoFlag <"HeaderSearchOpts->ModulesValidateDiagnosticOptions", "true">, IsNegative ;
1859
+ MarshallingInfoNegativeFlag <"HeaderSearchOpts->ModulesValidateDiagnosticOptions"> ;
1860
1860
defm modules_validate_system_headers : BoolOption<"modules-validate-system-headers",
1861
1861
"HeaderSearchOpts->ModulesValidateSystemHeaders", DefaultsToFalse,
1862
1862
ChangedBy<PosFlag, [CC1Option], "Validate the system headers that a module depends on when loading the module">,
@@ -1944,7 +1944,7 @@ def fno_asm : Flag<["-"], "fno-asm">, Group<f_Group>;
1944
1944
def fno_asynchronous_unwind_tables : Flag<["-"], "fno-asynchronous-unwind-tables">, Group<f_Group>;
1945
1945
def fno_assume_sane_operator_new : Flag<["-"], "fno-assume-sane-operator-new">, Group<f_Group>,
1946
1946
HelpText<"Don't assume that C++'s global operator new can't alias any pointer">,
1947
- Flags<[CC1Option]>, MarshallingInfoFlag <"CodeGenOpts.AssumeSaneOperatorNew", "true">, IsNegative ;
1947
+ Flags<[CC1Option]>, MarshallingInfoNegativeFlag <"CodeGenOpts.AssumeSaneOperatorNew"> ;
1948
1948
def fno_builtin : Flag<["-"], "fno-builtin">, Group<f_Group>, Flags<[CC1Option, CoreOption]>,
1949
1949
HelpText<"Disable implicit builtin knowledge of functions">;
1950
1950
def fno_builtin_ : Joined<["-"], "fno-builtin-">, Group<f_Group>, Flags<[CC1Option, CoreOption]>,
@@ -2022,15 +2022,15 @@ def fno_strict_overflow : Flag<["-"], "fno-strict-overflow">, Group<f_Group>;
2022
2022
def fno_temp_file : Flag<["-"], "fno-temp-file">, Group<f_Group>,
2023
2023
Flags<[CC1Option, CoreOption]>, HelpText<
2024
2024
"Directly create compilation output files. This may lead to incorrect incremental builds if the compiler crashes">,
2025
- MarshallingInfoFlag <"FrontendOpts.UseTemporary", "true">, IsNegative ;
2025
+ MarshallingInfoNegativeFlag <"FrontendOpts.UseTemporary"> ;
2026
2026
defm use_cxa_atexit : BoolFOption<"use-cxa-atexit",
2027
2027
"CodeGenOpts.CXAAtExit", DefaultsToTrue,
2028
2028
ChangedBy<NegFlag, [], "Don't use __cxa_atexit for calling destructors">,
2029
2029
ResetBy<PosFlag>>;
2030
2030
def fno_unit_at_a_time : Flag<["-"], "fno-unit-at-a-time">, Group<f_Group>;
2031
2031
def fno_unwind_tables : Flag<["-"], "fno-unwind-tables">, Group<f_Group>;
2032
2032
def fno_verbose_asm : Flag<["-"], "fno-verbose-asm">, Group<f_Group>, Flags<[CC1Option]>,
2033
- MarshallingInfoFlag <"CodeGenOpts.AsmVerbose", "true">, IsNegative ;
2033
+ MarshallingInfoNegativeFlag <"CodeGenOpts.AsmVerbose"> ;
2034
2034
def fno_working_directory : Flag<["-"], "fno-working-directory">, Group<f_Group>;
2035
2035
def fno_wrapv : Flag<["-"], "fno-wrapv">, Group<f_Group>;
2036
2036
def fobjc_arc : Flag<["-"], "fobjc-arc">, Group<f_Group>, Flags<[CC1Option]>,
@@ -3313,7 +3313,7 @@ def no_pedantic : Flag<["-", "--"], "no-pedantic">, Group<pedantic_Group>;
3313
3313
def no__dead__strip__inits__and__terms : Flag<["-"], "no_dead_strip_inits_and_terms">;
3314
3314
def nobuiltininc : Flag<["-"], "nobuiltininc">, Flags<[CC1Option, CoreOption]>,
3315
3315
HelpText<"Disable builtin #include directories">,
3316
- MarshallingInfoFlag <"HeaderSearchOpts->UseBuiltinIncludes", "true">, IsNegative ;
3316
+ MarshallingInfoNegativeFlag <"HeaderSearchOpts->UseBuiltinIncludes"> ;
3317
3317
def nogpuinc : Flag<["-"], "nogpuinc">, HelpText<"Do not add include paths for CUDA/HIP and"
3318
3318
" do not include the default CUDA/HIP wrapper headers">;
3319
3319
def : Flag<["-"], "nocudainc">, Alias<nogpuinc>;
@@ -3334,7 +3334,7 @@ def nostdinc : Flag<["-"], "nostdinc">, Flags<[CoreOption]>;
3334
3334
def nostdlibinc : Flag<["-"], "nostdlibinc">;
3335
3335
def nostdincxx : Flag<["-"], "nostdinc++">, Flags<[CC1Option]>,
3336
3336
HelpText<"Disable standard #include directories for the C++ standard library">,
3337
- MarshallingInfoFlag <"HeaderSearchOpts->UseStandardCXXIncludes", "true">, IsNegative ;
3337
+ MarshallingInfoNegativeFlag <"HeaderSearchOpts->UseStandardCXXIncludes"> ;
3338
3338
def nostdlib : Flag<["-"], "nostdlib">, Group<Link_Group>;
3339
3339
def nostdlibxx : Flag<["-"], "nostdlib++">;
3340
3340
def object : Flag<["-"], "object">;
@@ -3499,7 +3499,7 @@ def umbrella : Separate<["-"], "umbrella">;
3499
3499
def undefined : JoinedOrSeparate<["-"], "undefined">, Group<u_Group>;
3500
3500
def undef : Flag<["-"], "undef">, Group<u_Group>, Flags<[CC1Option]>,
3501
3501
HelpText<"undef all system defines">,
3502
- MarshallingInfoFlag <"PreprocessorOpts->UsePredefines", "true">, IsNegative ;
3502
+ MarshallingInfoNegativeFlag <"PreprocessorOpts->UsePredefines"> ;
3503
3503
def unexported__symbols__list : Separate<["-"], "unexported_symbols_list">;
3504
3504
def u : JoinedOrSeparate<["-"], "u">, Group<u_Group>;
3505
3505
def v : Flag<["-"], "v">, Flags<[CC1Option, CoreOption]>,
@@ -4370,7 +4370,7 @@ def fuse_ctor_homing: Flag<["-"], "fuse-ctor-homing">,
4370
4370
4371
4371
def disable_llvm_verifier : Flag<["-"], "disable-llvm-verifier">,
4372
4372
HelpText<"Don't run the LLVM IR verifier pass">,
4373
- MarshallingInfoFlag <"CodeGenOpts.VerifyModule", "true">, IsNegative ;
4373
+ MarshallingInfoNegativeFlag <"CodeGenOpts.VerifyModule"> ;
4374
4374
def disable_llvm_passes : Flag<["-"], "disable-llvm-passes">,
4375
4375
HelpText<"Use together with -emit-llvm to get pristine LLVM IR from the "
4376
4376
"frontend by not running any LLVM passes at all">,
@@ -4432,7 +4432,7 @@ def relaxed_aliasing : Flag<["-"], "relaxed-aliasing">,
4432
4432
MarshallingInfoFlag<"CodeGenOpts.RelaxedAliasing">;
4433
4433
def no_struct_path_tbaa : Flag<["-"], "no-struct-path-tbaa">,
4434
4434
HelpText<"Turn off struct-path aware Type Based Alias Analysis">,
4435
- MarshallingInfoFlag <"CodeGenOpts.StructPathTBAA", "true">, IsNegative ;
4435
+ MarshallingInfoNegativeFlag <"CodeGenOpts.StructPathTBAA"> ;
4436
4436
def new_struct_path_tbaa : Flag<["-"], "new-struct-path-tbaa">,
4437
4437
HelpText<"Enable enhanced struct-path aware Type Based Alias Analysis">;
4438
4438
def mdebug_pass : Separate<["-"], "mdebug-pass">,
@@ -4595,7 +4595,7 @@ def msign_return_address_key_EQ : Joined<["-"], "msign-return-address-key=">,
4595
4595
def mbranch_target_enforce : Flag<["-"], "mbranch-target-enforce">,
4596
4596
MarshallingInfoFlag<"LangOpts->BranchTargetEnforcement">;
4597
4597
def fno_dllexport_inlines : Flag<["-"], "fno-dllexport-inlines">,
4598
- MarshallingInfoFlag <"LangOpts->DllExportInlines", "true">, IsNegative ;
4598
+ MarshallingInfoNegativeFlag <"LangOpts->DllExportInlines"> ;
4599
4599
def cfguard_no_checks : Flag<["-"], "cfguard-no-checks">,
4600
4600
HelpText<"Emit Windows Control Flow Guard tables only (no checks)">,
4601
4601
MarshallingInfoFlag<"CodeGenOpts.ControlFlowGuardNoChecks">;
@@ -4701,10 +4701,10 @@ def code_completion_patterns : Flag<["-"], "code-completion-patterns">,
4701
4701
MarshallingInfoFlag<"FrontendOpts.CodeCompleteOpts.IncludeCodePatterns">;
4702
4702
def no_code_completion_globals : Flag<["-"], "no-code-completion-globals">,
4703
4703
HelpText<"Do not include global declarations in code-completion results.">,
4704
- MarshallingInfoFlag <"FrontendOpts.CodeCompleteOpts.IncludeGlobals", "true">, IsNegative ;
4704
+ MarshallingInfoNegativeFlag <"FrontendOpts.CodeCompleteOpts.IncludeGlobals"> ;
4705
4705
def no_code_completion_ns_level_decls : Flag<["-"], "no-code-completion-ns-level-decls">,
4706
4706
HelpText<"Do not include declarations inside namespaces (incl. global namespace) in the code-completion results.">,
4707
- MarshallingInfoFlag <"FrontendOpts.CodeCompleteOpts.IncludeNamespaceLevelDecls", "true">, IsNegative ;
4707
+ MarshallingInfoNegativeFlag <"FrontendOpts.CodeCompleteOpts.IncludeNamespaceLevelDecls"> ;
4708
4708
def code_completion_brief_comments : Flag<["-"], "code-completion-brief-comments">,
4709
4709
HelpText<"Include brief documentation comments in code-completion results.">,
4710
4710
MarshallingInfoFlag<"FrontendOpts.CodeCompleteOpts.IncludeBriefComments">;
@@ -4734,10 +4734,10 @@ def ast_dump_filter : Separate<["-"], "ast-dump-filter">,
4734
4734
MarshallingInfoString<"FrontendOpts.ASTDumpFilter">;
4735
4735
def fno_modules_global_index : Flag<["-"], "fno-modules-global-index">,
4736
4736
HelpText<"Do not automatically generate or update the global module index">,
4737
- MarshallingInfoFlag <"FrontendOpts.UseGlobalModuleIndex", "true">, IsNegative ;
4737
+ MarshallingInfoNegativeFlag <"FrontendOpts.UseGlobalModuleIndex"> ;
4738
4738
def fno_modules_error_recovery : Flag<["-"], "fno-modules-error-recovery">,
4739
4739
HelpText<"Do not automatically import modules for error recovery">,
4740
- MarshallingInfoFlag <"LangOpts->ModulesErrorRecovery", "true">, IsNegative ;
4740
+ MarshallingInfoNegativeFlag <"LangOpts->ModulesErrorRecovery"> ;
4741
4741
def fmodule_map_file_home_is_cwd : Flag<["-"], "fmodule-map-file-home-is-cwd">,
4742
4742
HelpText<"Use the current working directory as the home directory of "
4743
4743
"module maps specified by -fmodule-map-file=<FILE>">,
@@ -4780,7 +4780,7 @@ def fconcepts_ts : Flag<["-"], "fconcepts-ts">,
4780
4780
def fno_concept_satisfaction_caching : Flag<["-"],
4781
4781
"fno-concept-satisfaction-caching">,
4782
4782
HelpText<"Disable satisfaction caching for C++2a Concepts.">,
4783
- MarshallingInfoFlag <"LangOpts->ConceptSatisfactionCaching", "true">, IsNegative ;
4783
+ MarshallingInfoNegativeFlag <"LangOpts->ConceptSatisfactionCaching"> ;
4784
4784
4785
4785
defm recovery_ast : BoolOption<"recovery-ast",
4786
4786
"LangOpts->RecoveryAST", DefaultsToTrue,
@@ -4930,7 +4930,7 @@ def pch_through_hdrstop_use : Flag<["-"], "pch-through-hdrstop-use">,
4930
4930
HelpText<"When using a PCH, skip tokens until after a #pragma hdrstop.">;
4931
4931
def fno_pch_timestamp : Flag<["-"], "fno-pch-timestamp">,
4932
4932
HelpText<"Disable inclusion of timestamp in precompiled headers">,
4933
- MarshallingInfoFlag <"FrontendOpts.IncludeTimestamps", "true">, IsNegative ;
4933
+ MarshallingInfoNegativeFlag <"FrontendOpts.IncludeTimestamps"> ;
4934
4934
def building_pch_with_obj : Flag<["-"], "building-pch-with-obj">,
4935
4935
HelpText<"This compilation is part of building a PCH with corresponding object file.">,
4936
4936
MarshallingInfoFlag<"LangOpts->BuildingPCHWithObjectFile">;
@@ -4983,7 +4983,7 @@ def fobjc_dispatch_method_EQ : Joined<["-"], "fobjc-dispatch-method=">,
4983
4983
MarshallingInfoString<"CodeGenOpts.ObjCDispatchMethod", "Legacy">, AutoNormalizeEnum;
4984
4984
def disable_objc_default_synthesize_properties : Flag<["-"], "disable-objc-default-synthesize-properties">,
4985
4985
HelpText<"disable the default synthesis of Objective-C properties">,
4986
- MarshallingInfoFlag <"LangOpts->ObjCDefaultSynthProperties", "true">, IsNegative ;
4986
+ MarshallingInfoNegativeFlag <"LangOpts->ObjCDefaultSynthProperties"> ;
4987
4987
def fencode_extended_block_signature : Flag<["-"], "fencode-extended-block-signature">,
4988
4988
HelpText<"enable extended encoding of block type signature">,
4989
4989
MarshallingInfoFlag<"LangOpts->EncodeExtendedBlockSig">;
@@ -5132,7 +5132,7 @@ def fobjc_gc : Flag<["-"], "fobjc-gc">, Group<f_Group>,
5132
5132
5133
5133
def nostdsysteminc : Flag<["-"], "nostdsysteminc">,
5134
5134
HelpText<"Disable standard system #include directories">,
5135
- MarshallingInfoFlag <"HeaderSearchOpts->UseStandardSystemIncludes", "true">, IsNegative ;
5135
+ MarshallingInfoNegativeFlag <"HeaderSearchOpts->UseStandardSystemIncludes"> ;
5136
5136
def fdisable_module_hash : Flag<["-"], "fdisable-module-hash">,
5137
5137
HelpText<"Disable the module hash">,
5138
5138
MarshallingInfoFlag<"HeaderSearchOpts->DisableModuleHash">;
@@ -5204,7 +5204,7 @@ def fcuda_allow_variadic_functions : Flag<["-"], "fcuda-allow-variadic-functions
5204
5204
MarshallingInfoFlag<"LangOpts->CUDAAllowVariadicFunctions">;
5205
5205
def fno_cuda_host_device_constexpr : Flag<["-"], "fno-cuda-host-device-constexpr">,
5206
5206
HelpText<"Don't treat unattributed constexpr functions as __host__ __device__.">,
5207
- MarshallingInfoFlag <"LangOpts->CUDAHostDeviceConstexpr", "true">, IsNegative ;
5207
+ MarshallingInfoNegativeFlag <"LangOpts->CUDAHostDeviceConstexpr"> ;
5208
5208
5209
5209
//===----------------------------------------------------------------------===//
5210
5210
// OpenMP Options
0 commit comments