[all-commits] [llvm/llvm-project] 5e6f16: Include SmallVector.h in IPO.h to fix modules buil...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Apr 30 07:41:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e6f167aa979cd274f0de413f3adb8319cca273f
      https://github.com/llvm/llvm-project/commit/5e6f167aa979cd274f0de413f3adb8319cca273f
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO.h

  Log Message:
  -----------
  Include SmallVector.h in IPO.h to fix modules build [NFC]

This file currently doesn't compile under LLVM_ENABLE_MODULES as SmallVector
is used in this header but is never forward declared or included in any way.
Let's include SmallVector.h instead and get rid of the SmallVectorImpl fwd
declaration which is now no longer necessary.




More information about the All-commits mailing list