summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/APInt.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-13 22:32:12 +0000
committerDan Gohman <gohman@apple.com>2008-02-13 22:32:12 +0000
commitcd2ad1df5d2e0600200c81bc214e0b65ff699c5f (patch)
treeda635ebc1c780634292cdeb971729ab0ab2d54d7 /include/llvm/ADT/APInt.h
parent977a76fbb6ea1b87dfd7fbbe2ae2afb63e982ff3 (diff)
downloadllvm-cd2ad1df5d2e0600200c81bc214e0b65ff699c5f.tar.gz
llvm-cd2ad1df5d2e0600200c81bc214e0b65ff699c5f.tar.bz2
llvm-cd2ad1df5d2e0600200c81bc214e0b65ff699c5f.tar.xz
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r--include/llvm/ADT/APInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h
index 6d4b926cef..fdb1fa47f5 100644
--- a/include/llvm/ADT/APInt.h
+++ b/include/llvm/ADT/APInt.h
@@ -123,7 +123,7 @@ class APInt {
uint32_t wordBits = BitWidth % APINT_BITS_PER_WORD;
if (wordBits == 0)
// If all bits are used, we want to leave the value alone. This also
- // avoids the undefined behavior of >> when the shfit is the same size as
+ // avoids the undefined behavior of >> when the shift is the same size as
// the word size (64).
return *this;