projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d711535
)
Fix MSVC warning ( | with bool and unsigned int).
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 7 Nov 2009 23:51:55 +0000
(23:51 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 7 Nov 2009 23:51:55 +0000
(23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86417
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 63af42dcca4ca78d53c827ab879fea2376443ef2..26b6a09ab19582913d91c6587365fea09c99d206 100644
(file)
--- a/
lib/AsmParser/LLParser.cpp
+++ b/
lib/AsmParser/LLParser.cpp
@@
-2039,7
+2039,7
@@
bool LLParser::ParseValID(ValID &ID) {
ParseToken(lltok::StringConstant, "expected constraint string"))
return true;
ID.StrVal2 = Lex.getStrVal();
- ID.UIntVal =
HasSideEffect | ((unsigned)AlignStack
<<1);
+ ID.UIntVal =
unsigned(HasSideEffect) | (unsigned(AlignStack)
<<1);
ID.Kind = ValID::t_InlineAsm;
return false;
}