Skip to content

Commit 90c5cde

Browse files
committed
Also parse "none" for non-IR inputs
1 parent 1bee2ee commit 90c5cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,9 +2176,9 @@ def fwasm_exceptions : Flag<["-"], "fwasm-exceptions">, Group<f_Group>,
21762176
HelpText<"Use WebAssembly style exceptions">;
21772177
def exception_model : Separate<["-"], "exception-model">,
21782178
Visibility<[CC1Option]>, HelpText<"The exception model">,
2179-
Values<"dwarf,sjlj,seh,wasm">,
2179+
Values<"dwarf,sjlj,seh,wasm,none">,
21802180
NormalizedValuesScope<"CodeGenOptions::ExceptionHandlingKind">,
2181-
NormalizedValues<["DwarfCFI", "SjLj", "WinEH", "Wasm"]>,
2181+
NormalizedValues<["DwarfCFI", "SjLj", "WinEH", "Wasm", "None"]>,
21822182
MarshallingInfoEnum<CodeGenOpts<"ExceptionHandling">, "None">;
21832183
def exception_model_EQ : Joined<["-"], "exception-model=">,
21842184
Visibility<[CC1Option]>, Alias<exception_model>;

0 commit comments

Comments
 (0)