[all-commits] [llvm/llvm-project] ac6a99: MachineBasicBlock.h - remove unnecessary includes....

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue May 19 07:17:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac6a9971309bcd7ba353fd8d12154fd368498a0f
      https://github.com/llvm/llvm-project/commit/ac6a9971309bcd7ba353fd8d12154fd368498a0f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-19 (Tue, 19 May 2020)

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

  Log Message:
  -----------
  MachineBasicBlock.h - remove unnecessary includes. NFC.

Don't explicitly include ilist_node.h + simple_ilist.h - we already include ilist.h that include these for us and all references are in terms of that.

The rest can be covered by forward declarations.


  Commit: 64ba6ee1608a1233895f5e135211f61f84702925
      https://github.com/llvm/llvm-project/commit/64ba6ee1608a1233895f5e135211f61f84702925
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/include/llvm/Support/CommandLine.h

  Log Message:
  -----------
  CommandLine.h - remove unnecessary raw_ostream forward declaration. NFC.

We already have to include raw_ostream.h.


  Commit: f3b20c2ae7b5a27972f4b467d8d05f8bd036220a
      https://github.com/llvm/llvm-project/commit/f3b20c2ae7b5a27972f4b467d8d05f8bd036220a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp

  Log Message:
  -----------
  MCTargetOptionsCommandFlags.h - remove unnecessary includes. NFC.

Replace with MCTargetOptions forward declaration and move includes down to MCTargetOptionsCommandFlags.cpp


Compare: https://github.com/llvm/llvm-project/compare/6846aec7313f...f3b20c2ae7b5


More information about the All-commits mailing list