mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-17 23:44:43 +00:00
Fix MSVC warning ( | with bool and unsigned int).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86417 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d71153577f
commit
f0bb41c078
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user