diff --git a/clang/include/clang/APINotes/Types.h b/clang/include/clang/APINotes/Types.h --- a/clang/include/clang/APINotes/Types.h +++ b/clang/include/clang/APINotes/Types.h @@ -482,7 +482,7 @@ /// API notes for a function or method. class FunctionInfo : public CommonEntityInfo { private: - static constexpr const unsigned NullabilityKindMask = 0x3; + static constexpr const uint64_t NullabilityKindMask = 0x3; static constexpr const unsigned NullabilityKindSize = 2; static constexpr const unsigned ReturnInfoIndex = 0;