[all-commits] [llvm/llvm-project] 79df41: DebugInfo: const-qualify accessors of DWARFExpress...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Mon Nov 15 17:31:51 PST 2021


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

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp

  Log Message:
  -----------
  DebugInfo: const-qualify accessors of DWARFExpression::Operation

Add `const` to DWARFExpression::Operation's accessors and make
Operation::extract() private, since it's only used by the friend class
DWARFExpression::iterator.




More information about the All-commits mailing list