================ @@ -4699,7 +4699,7 @@ class FunctionEffect { private: LLVM_PREFERRED_TYPE(Kind) - unsigned FKind : 3; + uint8_t FKind : 3; ---------------- jroelofs wrote:
also, github won't let me comment on the correct lines, but: ``` - FunctionEffect() : FKind(unsigned(Kind::None)) {} - explicit FunctionEffect(Kind K) : FKind(unsigned(K)) {} + FunctionEffect() : FKind(uint8_t(Kind::None)) {} + explicit FunctionEffect(Kind K) : FKind(uint8_t(K)) {} ``` https://github.com/llvm/llvm-project/pull/99656 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits