DebugInfo: Make DWARFExpression::iterator a const iterator
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 16 Nov 2021 01:22:30 +0000 (17:22 -0800)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 16 Nov 2021 18:25:10 +0000 (10:25 -0800)
commitfd6018072ace7d5cdf537fd63a44c050a98e52fc
tree3a9012388c3f8804a18e08fcfe0af9b2d0b867ae
parenta0f1f171314f99351d47d033b13a5aea6c5ee84e
DebugInfo: Make DWARFExpression::iterator a const iterator

3d1d8c767be5537eb5510ee0522e2f3475fe7c04 made
DWARFExpression::iterator's Operation member `mutable`. After a few prep
commits, the iterator can instead be made a `const` iterator since no
caller can change the Operation.

Differential Revision: https://reviews.llvm.org/D113958
llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
llvm/tools/llvm-dwarfdump/Statistics.cpp