[LLVMbugs] [Bug 6763] New: Using True/False as identifiers is not portable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 1 18:51:42 PDT 2010


           Summary: Using True/False as identifiers is not portable
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mtsmith at synopsys.com
                CC: llvmbugs at cs.uiuc.edu

The definition of areInvalidOperands in llvm/Instructions.h is not very
friendly. It uses True and False as identifiers, which in my code - and
probably a lot of older C code - are defined to 0 and 1.

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