Commit 3494ee9
authored
Reapply [APInt] Enable APInt ctor assertion by default (llvm#114539)
This enables the assertion introduced in
llvm#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 llvm#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 b74e588 commit 3494ee9
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