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:
8568122
)
clarify precedence, no functionality change.
author
Chris Lattner
<sabre@nondot.org>
Mon, 20 Aug 2007 21:31:08 +0000
(21:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 20 Aug 2007 21:31:08 +0000
(21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41199
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Function.h
patch
|
blob
|
history
diff --git
a/include/llvm/Function.h
b/include/llvm/Function.h
index 7776c29f1d7b09bde281dcad84dad2712a33caf8..56ed5c26f0be8e2a8dc3c92a785467eaa98818b6 100644
(file)
--- 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