[LLVMdev] Minor typo in source file ObjectFile.h

Caldarale, Charles R Chuck.Caldarale at unisys.com
Wed May 30 21:20:21 PDT 2012


> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Mikael Lyngvig
> Subject: [LLVMdev] Minor typo in source file ObjectFile.h

> const uint64_t UnknownAddressOrSize = ~0ULL

> This found at line 260 in ObjectFile.h.  Notice the 0ULL thingy.

What do you find troubling about it?  It's simply a way to set all bits in an unsigned variable.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.





More information about the llvm-dev mailing list