clarify precedence, no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-08-20 21:31:08 +00:00
parent 8568122b41
commit 9cf8e5d092

View File

@ -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