[all-commits] [llvm/llvm-project] 91ef7c: [IR] Trivial cleanups in Use. NFC.

jayfoad via All-commits all-commits at lists.llvm.org
Fri May 15 10:15:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91ef7cb508b66ad937d2357e155be2c7850490b9
      https://github.com/llvm/llvm-project/commit/91ef7cb508b66ad937d2357e155be2c7850490b9
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M llvm/include/llvm/IR/Use.h
    M llvm/include/llvm/IR/Value.h
    M llvm/lib/IR/Value.cpp

  Log Message:
  -----------
  [IR] Trivial cleanups in Use. NFC.

Remove Use::setPrev. It provided no value because it had the same
accessibility as the underlying field Prev, and there was no
corresponding setNext anyway.

Simplify Use::removeFromList.




More information about the All-commits mailing list