summaryrefslogtreecommitdiff
path: root/include/llvm/TableGen
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2012-09-09 20:34:25 +0000
committerAaron Ballman <aaron@aaronballman.com>2012-09-09 20:34:25 +0000
commit236bcf1fcd6164d624956c0858593c1a780b9a0b (patch)
tree3eb62053db180bb0cd36f17bf87bdc451763f9d9 /include/llvm/TableGen
parent3be7584f40cc822252e613af0c42dcb17e6a5d05 (diff)
downloadllvm-236bcf1fcd6164d624956c0858593c1a780b9a0b.tar.gz
llvm-236bcf1fcd6164d624956c0858593c1a780b9a0b.tar.bz2
llvm-236bcf1fcd6164d624956c0858593c1a780b9a0b.tar.xz
Fixing a type width warning with MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/TableGen')
-rw-r--r--include/llvm/TableGen/Record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h
index c7baaeb9d9..adb1a77ae4 100644
--- a/include/llvm/TableGen/Record.h
+++ b/include/llvm/TableGen/Record.h
@@ -689,7 +689,7 @@ public:
}
virtual Init *getBit(unsigned Bit) const {
- return BitInit::get((Value & (1 << Bit)) != 0);
+ return BitInit::get((Value & (1ULL << Bit)) != 0);
}
};