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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to