=?utf-8?q?“Nhat?= <nhat7...@gmail.com>, =?utf-8?q?“Nhat?= <nhat7...@gmail.com>, =?utf-8?q?“Nhat?= <nhat7...@gmail.com>, =?utf-8?q?“Nhat?= <nhat7...@gmail.com>, =?utf-8?q?“Nhat?= <nhat7...@gmail.com> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/75...@github.com>
================ @@ -17146,7 +17146,13 @@ static bool ConvertAPValueToString(const APValue &V, QualType T, break; } } - V.getInt().toString(Str); + if (V.getInt() > std::numeric_limits<uint64_t>::max() || + V.getInt() < std::numeric_limits<int64_t>::min()) { + return false; ---------------- ShamrockLee wrote: ```suggestion ``` 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