Commit 87b25f7
committed
Reapply [APInt] Enable APInt ctor assertion by default
This enables the assertion introduced in
#106524, which checks
that the value passed to the constructor is indeed a valid
N-bit signed or unsigned integer.
Places that previously violated the assertion were updated in
advance, e.g. in #80309.
It is possible to opt-out of the check and restore the previous
behavior by setting implicitTrunc=true.
-----
The buildbot failures from the previous attempt should be fixed
by a18dd29 and
e2074c6.1 parent c72a751 commit 87b25f7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments