Unverified Commit d25e0aac authored by Karl-Johan Karlsson's avatar Karl-Johan Karlsson Committed by GitHub
Browse files

[Sema] Fixed faulty shift count warning (#69521)

Constant values of _BitInt have the bitwith to exactly fit the constant
number. This patch fix a problem in Sema when building an APInt where
the supplied bitwidth can become too small and simply truncate the value
leading to a faulty warning.
parent 8a1ce2d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment