commit | 1dd986dff9ddfbec687975700770bb377988e9ed | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Mon May 02 23:00:27 2011 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Mon May 02 23:00:27 2011 +0000 |
tree | 1eca5884c15a9a79939344e626686b10d47eb295 | |
parent | a87a2b2d18b7482f91994e2bba769cddea8bd0ee [diff] |
Added an assert to IntegerLiteral to ensure that the integer type passed in has the same size as the APInt passed in. Also, updated the comments around IntegerLiteral. Changed the integer type that range-based for-loops used. Switched to pointer difference type, which satisfies the new assert in IntegerLiteral. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130739 91177308-0d34-0410-b5e6-96231b3b80d8