aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-11-15 17:15:41 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-11-16 10:21:04 -0800
commita0f1f171314f99351d47d033b13a5aea6c5ee84e (patch)
tree341c573abdcb25ad33fcc9c1eb01c81b2269d2c8 /llvm/lib/Support/APInt.cpp
parent5ed404a4abd3fc3559ecc9dfc6cee83fcc3796e6 (diff)
downloadllvm-a0f1f171314f99351d47d033b13a5aea6c5ee84e.zip
llvm-a0f1f171314f99351d47d033b13a5aea6c5ee84e.tar.gz
llvm-a0f1f171314f99351d47d033b13a5aea6c5ee84e.tar.bz2
DebugInfo: Stop modifying Operation::Error inside of verify()
The only caller of Operation::verify() is DWARFExpression::verify(), which iterates past the (ephemeral) Operation immediately after. - Stop setting Operation::Error because the mutation will never be observed. - Change verify() to a static function to be sure all callers are updated. Differential Revision: https://reviews.llvm.org/D113957
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions