[all-commits] [llvm/llvm-project] 39fd3f: [clang][Interp] Don't fail on shifts greater than ...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Tue Feb 20 02:33:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 39fd3fcd4527d627ee7f526a651aa47c27a9ad0d
https://github.com/llvm/llvm-project/commit/39fd3fcd4527d627ee7f526a651aa47c27a9ad0d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-20 (Tue, 20 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/shifts.cpp
Log Message:
-----------
[clang][Interp] Don't fail on shifts greater than type bitwidth
We need to limit the shift width to the type bitwidth, then do the
shift and report success, but still diagnose what we limited the
shiftwidth.
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