[llvm] r349193 - Add missing includes and forward decls to unbreak build

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 14:52:21 PST 2018


I use modules for all my builds, so that caused them to break.



On Fri, Dec 14, 2018 at 4:58 PM Daniel Sanders <daniel_l_sanders at apple.com>
wrote:

> Thanks. I just got a bug report about this from an out of tree target and
> went to fix it but you beat me to it.
>
> Out of curiosity, was it one of the LLVM bots that noticed this? I haven't
> seen it in any of the mail I got from the bots.
>
> > On 14 Dec 2018, at 21:04, Eric Fiselier via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
> >
> > Author: ericwf
> > Date: Fri Dec 14 13:04:00 2018
> > New Revision: 349193
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=349193&view=rev
> > Log:
> > Add missing includes and forward decls to unbreak build
> >
> > Modified:
> >    llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h
> >
> > Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h?rev=349193&r1=349192&r2=349193&view=diff
> >
> ==============================================================================
> > --- llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h (original)
> > +++ llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelWorkList.h Fri Dec
> 14 13:04:00 2018
> > @@ -12,11 +12,13 @@
> >
> > #include "llvm/ADT/DenseMap.h"
> > #include "llvm/ADT/SmallVector.h"
> > +#include "llvm/CodeGen/MachineBasicBlock.h"
> > +#include "llvm/CodeGen/MachineInstr.h"
> > #include "llvm/Support/Debug.h"
> >
> > namespace llvm {
> >
> > -class MachineInstr;
> > +class MachineFunction;
> >
> > // Worklist which mostly works similar to InstCombineWorkList, but on
> > // MachineInstrs. The main difference with something like a SetVector is
> that
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181214/79a60a66/attachment.html>


More information about the llvm-commits mailing list