diff --git a/clang/lib/AST/Interp/Boolean.h b/clang/lib/AST/Interp/Boolean.h index e496f70eb4117..579842ce46aa0 100644 --- a/clang/lib/AST/Interp/Boolean.h +++ b/clang/lib/AST/Interp/Boolean.h @@ -64,7 +64,7 @@ class Boolean final { Boolean toUnsigned() const { return *this; } - constexpr static unsigned bitWidth() { return true; } + constexpr static unsigned bitWidth() { return 1; } bool isZero() const { return !V; } bool isMin() const { return isZero(); }