[LLVMbugs] [Bug 1044] NEW: LLVM Streams do not support stream manipulators

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 11 12:27:39 PST 2006


           Summary: LLVM Streams do not support stream manipulators
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: criswell at uiuc.edu

The LLVM stream classes do not support stream manipulators like std::hex and
std::dec.  This causes compilation failures in at least one source file and may
lead to other compiliation problems down the road.

A current work around is to get the stream from the LLVM stream using the
stream() method and then to use this std::[o|i] stream directly, but this seems
like a hack.  I did this in llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list