aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/Record.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-05 04:50:59 +0000
committerChris Lattner <sabre@nondot.org>2004-11-05 04:50:59 +0000
commit141e3fd81d7362cb82a86782425c7057c449b2dc (patch)
tree095503a29f52d519ca2dd26c67df1b4594a09ebd /utils/TableGen/Record.cpp
parent41ffe4b5313fe9c25a2aa91f01a9824d22c5351e (diff)
downloadexternal_llvm-141e3fd81d7362cb82a86782425c7057c449b2dc.zip
external_llvm-141e3fd81d7362cb82a86782425c7057c449b2dc.tar.gz
external_llvm-141e3fd81d7362cb82a86782425c7057c449b2dc.tar.bz2
Quiet VC++ warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.cpp')
-rw-r--r--utils/TableGen/Record.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp
index 38e1dff..8c8e7b9 100644
--- a/utils/TableGen/Record.cpp
+++ b/utils/TableGen/Record.cpp
@@ -67,7 +67,7 @@ Init *BitsRecTy::convertValue(IntInit *II) {
if (Value & ~((1LL << Size)-1))
return 0;
} else {
- if ((Value >> Size) != -1 || ((Value & (1 << Size-1)) == 0))
+ if ((Value >> Size) != -1 || ((Value & (1 << (Size-1))) == 0))
return 0;
}