[PATCH] D42208: Use an enum value instea of an string
Rafael Avila de Espindola via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 17 15:47:39 PST 2018
espindola created this revision.
espindola added reviewers: rnk, rsmith.
The old StringSwitch use was also broken. It assumed that a StringSwitch returns Optional<T> instead of T and was missing a .Default.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4397 bytes
Desc: not available
More information about the cfe-commits