[LLVMbugs] [Bug 4726] New: Patch series to get APInt and APFloat to take StringRefs
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Aug 15 13:29:36 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4726
Summary: Patch series to get APInt and APFloat to take StringRefs
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: idadesub at users.sourceforge.net
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3316)
--> (http://llvm.org/bugs/attachment.cgi?id=3316)
unit tests for APInt
Hi all,
I sent these patches to llvm-commits, but I didn't want to get them lost in the
shuffle so I'm also putting them here. This series does a couple things. First,
it converts APFloat to take a StringRef instead of a raw c string. The patch to
change APInt was already committed. Second, it adds a bunch of unit tests to
APInt and APFloat to validate string parsing. Third, it exposes constructing
ConstantInts and ConstantFPs from llvm-c through strings. Fourth, it then
exposes this to ocaml.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list