OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be7584
)
Fixing a type width warning with MSVC.
author
Aaron Ballman
<aaron@aaronballman.com>
Sun, 9 Sep 2012 20:34:25 +0000
(20:34 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Sun, 9 Sep 2012 20:34:25 +0000
(20:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163481
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/TableGen/Record.h
patch
|
blob
|
history
diff --git
a/include/llvm/TableGen/Record.h
b/include/llvm/TableGen/Record.h
index
c7baaeb
..
adb1a77
100644
(file)
--- 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 & (1
ULL
<< Bit)) != 0);
}
};