aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-10-07 23:17:48 +0000
committerTanya Lattner <tonic@nondot.org>2008-10-07 23:17:48 +0000
commit6fd37dbbfeb5c065a05ad5ea833fdfb9fa96fe20 (patch)
tree8e6b1b831dae2c3729d9f5658ae283adbe87dc96
parent7149ac167cd46e460028b725c820692d230d06bd (diff)
Merge from mainline.
Fix disagreement about where the attributes are ~0 != ~0U. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57278 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index f2b1a4f436..4a078d6845 100644
--- 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(~0U, N);
}
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm