[all-commits] [llvm/llvm-project] 1c6df7: [CodeGen] CodeGenPassBuilder.h - remove unnecessar...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Apr 20 03:24:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c6df71a9b532ca6340f7687a2d4189515bfce0e
      https://github.com/llvm/llvm-project/commit/1c6df71a9b532ca6340f7687a2d4189515bfce0e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/CodeGenPassBuilder.h

  Log Message:
  -----------
  [CodeGen] CodeGenPassBuilder.h - remove unnecessary <string> include. NFCI.

We only use StringRef so include that.


  Commit: 5ed8cea9a8166b81ade4a9352971ba061f9b6f65
      https://github.com/llvm/llvm-project/commit/5ed8cea9a8166b81ade4a9352971ba061f9b6f65
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h

  Log Message:
  -----------
  [Support] APInt.h - remove <algorithm> include. NFCI.

Replace std::min use which should allow us to avoid including the <algorithm> header in every include of APInt.h.


Compare: https://github.com/llvm/llvm-project/compare/30e2c7be9935...5ed8cea9a816


More information about the All-commits mailing list