The old StringSwitch use was also broken. It assumed that a StringSwitch returns Optional<T> instead of T and was missing a .Default.
Diff Detail
Diff Detail
Paths
| Differential D42208
Use an enum value instead of an string ClosedPublic Authored by • espindola on Jan 17 2018, 3:47 PM.
Details
Diff Detail Event Timeline• espindola retitled this revision from Use an enum value instea of an string to Use an enum value instead of an string. This revision is now accepted and ready to land.Jan 17 2018, 4:02 PM
Revision Contents
Diff 130303 clang/include/clang/Frontend/CodeGenOptions.h
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Frontend/CodeGenOptions.cpp
clang/lib/Frontend/CompilerInvocation.cpp
|