HomePhabricator

[ms] [llvm-ml] Accept /WX to signal that warnings should be fatal.

Authored by epastor on Apr 2 2021, 11:09 AM.

Description

[ms] [llvm-ml] Accept /WX to signal that warnings should be fatal.

Define -fatal-warnings to make warnings fatal, and accept /WX as an ML.EXE compatible alias for it.

Also make sure that if Warning() returns true, we always treat it as an error.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D92504

Details

Committed
epastorApr 2 2021, 12:13 PM
Reviewer
thakis
Differential Revision
D92504: [ms] [llvm-ml] Accept /WX to signal that warnings should be fatal.
Parents
rGf78d932cf23a: [RISCV] Add IR intrinsics for Zbc extension
Branches
Unknown
Tags
Unknown