[all-commits] [llvm/llvm-project] c57689: [Attributor][NFC] Copy llvm::function_ref, don't u...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Mar 23 08:46:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c57689bef261e18c4c5de70a2b9a1864462a0006
      https://github.com/llvm/llvm-project/commit/c57689bef261e18c4c5de70a2b9a1864462a0006
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp

  Log Message:
  -----------
  [Attributor][NFC] Copy llvm::function_ref, don't use references

On IRC this was called a "code smell" so we get rid of it.




More information about the All-commits mailing list