Commit 5a74142
[APInt] Enable APInt ctor assertion by default (#112670)
This enables the assertion introduced in
llvm/llvm-project#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 llvm/llvm-project#80309.
It is possible to opt-out of the check and restore the previous behavior
by setting implicitTrunc=true.1 parent 2454241 commit 5a74142
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments