[all-commits] [llvm/llvm-project] bd402f: [DebugInfo][NFC] Use function_ref consistently in ...

James Henderson via All-commits all-commits at lists.llvm.org
Thu Jan 2 10:02:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd402fc3f3e832395b89dda4a9b8392c6b0dd6fa
      https://github.com/llvm/llvm-project/commit/bd402fc3f3e832395b89dda4a9b8392c6b0dd6fa
  Author: James Henderson <jh7370 at my.bristol.ac.uk>
  Date:   2020-01-02 (Thu, 02 Jan 2020)

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

  Log Message:
  -----------
  [DebugInfo][NFC] Use function_ref consistently in debug line parsing

This patch fixes an inconsistency where we were using std::function in
some places and function_ref in others to pass around the error handling
callback.

Reviewed by: MaskRay

Differential Revision: https://reviews.llvm.org/D71762




More information about the All-commits mailing list