[NFC] Use int underlying type for CodeGenOpt::Level
In practice the change from an unspecified underlying type to uint8_t in 25c0ea2a means some builds break due to ambiguity resolving operator<< on ostreams (I assume because they define uint8_t differently). There were also valid points raised on the review saying that we can just use int here anyway. Pinning it to any type removes the potential for UB when constructing it, and int is the de-facto default.
parent
9aa4c6a1
Please register or sign in to comment