Displaying 4 results from an estimated 4 matches for "unary_function".
2004 Oct 26
4
[LLVMdev] Remaining Visual C patches
...s into a main
> header like that. Could you please move the inline methods that need the
> #includes out-of-line into MachineBasicBlock.cpp, then add the #include's
> there?
the <functional> is needed because of this declaration:
struct MachineBasicBlock2IndexFunctor
: std::unary_function<const MachineBasicBlock*, unsigned> {
How can it be moved??
removing the <algorithm> caused a few more files to require including
this header, I'm attaching a patch to this message.
By the way, I'm getting 2356 warnings when I build the project - most of
them are either &qu...
2004 Oct 26
0
[LLVMdev] Remaining Visual C patches
On Tue, 26 Oct 2004, Morten Ofstad wrote:
> the <functional> is needed because of this declaration:
>
> struct MachineBasicBlock2IndexFunctor
> : std::unary_function<const MachineBasicBlock*, unsigned> {
>
> How can it be moved??
You're right, it can't, except that MachineBasicBlock2IndexFunctor is
dead, so I nuked it.
> removing the <algorithm> caused a few more files to require including
> this header, I'm attaching a pat...
2004 Oct 25
0
[LLVMdev] Remaining Visual C patches
On Mon, 25 Oct 2004, Morten Ofstad wrote:
> several of the patches I submitted last week have not yet been applied,
> and most of it was really uncontroversial stuff like adding some
> #includes and some typecasts, fixing alloca for visual C etc.
Oops, sorry about that. :(
> I guess I just wrote too many mails so it was lost in the process, so
> here is a diff which includes all
2004 Oct 25
2
[LLVMdev] Remaining Visual C patches
Hi,
several of the patches I submitted last week have not yet been applied,
and most of it was really uncontroversial stuff like adding some
#includes and some typecasts, fixing alloca for visual C etc.
I guess I just wrote too many mails so it was lost in the process, so
here is a diff which includes all changes I have made, except those
related to hash_map differences since my solution