@@ -2615,7 +2615,8 @@ def image__base : Separate<["-"], "image_base">;
2615
2615
def include_ : JoinedOrSeparate<["-", "--"], "include">, Group<clang_i_Group>, EnumName<"include">,
2616
2616
MetaVarName<"<file>">, HelpText<"Include file before parsing">, Flags<[CC1Option]>;
2617
2617
def include_pch : Separate<["-"], "include-pch">, Group<clang_i_Group>, Flags<[CC1Option]>,
2618
- HelpText<"Include precompiled header file">, MetaVarName<"<file>">;
2618
+ HelpText<"Include precompiled header file">, MetaVarName<"<file>">,
2619
+ MarshallingInfoString<"PreprocessorOpts->ImplicitPCHInclude">;
2619
2620
def relocatable_pch : Flag<["-", "--"], "relocatable-pch">, Flags<[CC1Option]>,
2620
2621
HelpText<"Whether to build a relocatable precompiled header">,
2621
2622
MarshallingInfoFlag<"FrontendOpts.RelocatablePCH">;
@@ -4857,7 +4858,8 @@ def foverride_record_layout_EQ : Joined<["-"], "foverride-record-layout=">,
4857
4858
HelpText<"Override record layouts with those in the given file">;
4858
4859
def pch_through_header_EQ : Joined<["-"], "pch-through-header=">,
4859
4860
HelpText<"Stop PCH generation after including this file. When using a PCH, "
4860
- "skip tokens until after this file is included.">;
4861
+ "skip tokens until after this file is included.">,
4862
+ MarshallingInfoString<"PreprocessorOpts->PCHThroughHeader">;
4861
4863
def pch_through_hdrstop_create : Flag<["-"], "pch-through-hdrstop-create">,
4862
4864
HelpText<"When creating a PCH, stop PCH generation after #pragma hdrstop.">,
4863
4865
MarshallingInfoFlag<"PreprocessorOpts->PCHWithHdrStopCreate">;
@@ -4904,7 +4906,9 @@ def fconstant_string_class : Separate<["-"], "fconstant-string-class">,
4904
4906
HelpText<"Specify the class to use for constant Objective-C string objects.">,
4905
4907
MarshallingInfoString<"LangOpts->ObjCConstantStringClass">;
4906
4908
def fobjc_arc_cxxlib_EQ : Joined<["-"], "fobjc-arc-cxxlib=">,
4907
- HelpText<"Objective-C++ Automatic Reference Counting standard library kind">, Values<"libc++,libstdc++,none">;
4909
+ HelpText<"Objective-C++ Automatic Reference Counting standard library kind">, Values<"libc++,libstdc++,none">,
4910
+ NormalizedValues<["ARCXX_libcxx", "ARCXX_libstdcxx", "ARCXX_nolib"]>,
4911
+ MarshallingInfoString<"PreprocessorOpts->ObjCXXARCStandardLibrary", "ARCXX_nolib">, AutoNormalizeEnum;
4908
4912
def fobjc_runtime_has_weak : Flag<["-"], "fobjc-runtime-has-weak">,
4909
4913
HelpText<"The target Objective-C runtime supports ARC weak operations">;
4910
4914
def fobjc_dispatch_method_EQ : Joined<["-"], "fobjc-dispatch-method=">,
0 commit comments