[all-commits] [llvm/llvm-project] fd6018: DebugInfo: Make DWARFExpression::iterator a const ...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Tue Nov 16 10:26:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd6018072ace7d5cdf537fd63a44c050a98e52fc
      https://github.com/llvm/llvm-project/commit/fd6018072ace7d5cdf537fd63a44c050a98e52fc
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/tools/llvm-dwarfdump/Statistics.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list