1. Provide more detail in file comment.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Feb 2007 19:32:03 +0000 (19:32 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Feb 2007 19:32:03 +0000 (19:32 +0000)
commit5d0d05c9b8b5faa470b36fc4f8699aa7de4275b4
tree1dd20e7ea9674bb932ea45ec69b2e1a7486e8859
parentc68c2243dcb716bc117f41aa543ca8a41046df41
1. Provide more detail in file comment.
2. Move comments for methods to .h file, delete them in .cpp file.
3. All places that were doing manual clear of high order bits now call the
   clearUnusedBits() method in order to not depend on undefined behavior
   of the >> operator when the number of bits shifted equals the word size.
4. Reduced # of loc by using the new result of clearUnusedBits() method.
5. Simplified logic (decreased indentation) in a few places.
6. Added code comments to larger functions that needed them.
7. Added FIXME notes about weak implementations of things (e.g. bit-by-bit
   shift right is sub-optimal).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34603 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp