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:
f85e74c
)
Fix disagreement about where the attributes are
author
Eric Christopher
<echristo@apple.com>
Tue, 7 Oct 2008 22:33:44 +0000
(22:33 +0000)
committer
Eric Christopher
<echristo@apple.com>
Tue, 7 Oct 2008 22:33:44 +0000
(22:33 +0000)
~0 != ~0U.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57268
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 f2b1a4f4361977e6f5182e0eebffff15ef274b61..4a078d6845f20461ebb77f5f76cfa253f2b5612e 100644
(file)
--- a/
include/llvm/Function.h
+++ b/
include/llvm/Function.h
@@
-158,7
+158,7
@@
public:
///
void addFnAttr(Attributes N) {
// Function Attributes are stored at ~0 index
- addAttribute(~0, N);
+ addAttribute(~0
U
, N);
}
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm