================ @@ -17132,6 +17132,10 @@ static bool ConvertAPValueToString(const APValue &V, QualType T, case BuiltinType::WChar_U: { unsigned TyWidth = Context.getIntWidth(T); assert(8 <= TyWidth && TyWidth <= 32 && "Unexpected integer width"); + if (V.getInt() > std::numeric_limits<uint64_t>::max() || ---------------- ShamrockLee wrote:
> do you have any idea where is actually the right place to fix the code? IIUC, it should be around ```c++ V.getInt().toString(Str); ``` as I mentioned earlier in https://github.com/llvm/llvm-project/pull/75902#discussion_r1432050810 https://github.com/llvm/llvm-project/pull/75902 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits