diff options
author | Nikita Popov <npopov@redhat.com> | 2024-10-18 09:23:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 09:23:24 +0200 |
commit | ba1ee2bab7a4cdc0975686e5099461c0b12c5345 (patch) | |
tree | 2f47f2ee3d83f5febcb54a7a103c2f509068b3d4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5a09ce9e038ed73ea60edf5463dd6509f7c4848f (diff) | |
download | llvm-ba1ee2bab7a4cdc0975686e5099461c0b12c5345.zip llvm-ba1ee2bab7a4cdc0975686e5099461c0b12c5345.tar.gz llvm-ba1ee2bab7a4cdc0975686e5099461c0b12c5345.tar.bz2 |
[APInt] Enable APInt ctor assertion by default (#112670)
This enables the assertion introduced in
https://github.com/llvm/llvm-project/pull/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 https://github.com/llvm/llvm-project/pull/80309.
It is possible to opt-out of the check and restore the previous behavior
by setting implicitTrunc=true.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions