Commit ba1ee2b
authored
[APInt] Enable APInt ctor assertion by default (#112670)
This enables the assertion introduced in
#106524, which checks that the
value passed to the APInt 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.1 parent 5a09ce9 commit ba1ee2b
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