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
commit5966839fcf70b077ecdf14f9e2b39800bbd9e21f (patch)
tree64d575850040c7c7f9c04a4a641b457adde7258b
parent956d83f5aeb74055f23eba71f31aa4477fd4e33c (diff)
downloadllvm-5966839fcf70b077ecdf14f9e2b39800bbd9e21f.zip
llvm-5966839fcf70b077ecdf14f9e2b39800bbd9e21f.tar.gz
llvm-5966839fcf70b077ecdf14f9e2b39800bbd9e21f.tar.bz2
Merge from mainline.
Fix disagreement about where the attributes are ~0 != ~0U. llvm-svn: 57278
-rw-r--r--llvm/include/llvm/Function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Function.h b/llvm/include/llvm/Function.h
index f2b1a4f..4a078d6 100644
--- a/llvm/include/llvm/Function.h
+++ b/llvm/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