From: Chris Lattner Date: Mon, 20 Aug 2007 21:31:08 +0000 (+0000) Subject: clarify precedence, no functionality change. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9cf8e5d092a0ef1c04d9630e537bb1357393ffb1;p=oota-llvm.git clarify precedence, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41199 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 7776c29f1d7..56ed5c26f0b 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -138,7 +138,7 @@ public: /// calling conventions are defined in CallingConv.h. unsigned getCallingConv() const { return SubclassData >> 1; } void setCallingConv(unsigned CC) { - SubclassData = (SubclassData & 1) | CC << 1; + SubclassData = (SubclassData & 1) | (CC << 1); } /// Obtains a constant pointer to the ParamAttrsList object which holds the