[LLVMbugs] [Bug 5639] New: Remove boolean parameters from IRBuilder
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Nov 29 13:34:05 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5639
Summary: Remove boolean parameters from IRBuilder
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: normal
Priority: P2
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org
Implicit boolean conversions are dangerous with overloading. We have some
additional overloads to avoid them for const char* but things get nasty when we
construct a Twine from a StringRef.
Overloads to be removed:
Value *CreateIntCast(Value *V, const Type *DestTy, bool isSigned, const Twine
&Name = "")
LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const Twine &Name = "")
--
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