[all-commits] [llvm/llvm-project] 95e036: [clang][Interp] Note UB when converting Inf to int...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Wed Feb 28 09:14:35 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95e036956f0a610027907df9a8f99d1f3c3b4cf5
https://github.com/llvm/llvm-project/commit/95e036956f0a610027907df9a8f99d1f3c3b4cf5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/cxx20.cpp
Log Message:
-----------
[clang][Interp] Note UB when converting Inf to integer
The F.isFinite() check here was introduced back when the first
floating point implementation was pushed, but I don't think it's
necessary and it fixes the attached test case.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list