aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2008-10-07 22:33:44 +0000
committerEric Christopher <echristo@apple.com>2008-10-07 22:33:44 +0000
commitbde84d2fca4217043eb8c2ba447ae2797813ca54 (patch)
treeea8f3b5f8252d52047bf3dce9acd1dee625412de /include/llvm
parentf85e74cc87dad95807a591160f1bd469ae0d4852 (diff)
downloadexternal_llvm-bde84d2fca4217043eb8c2ba447ae2797813ca54.zip
external_llvm-bde84d2fca4217043eb8c2ba447ae2797813ca54.tar.gz
external_llvm-bde84d2fca4217043eb8c2ba447ae2797813ca54.tar.bz2
Fix disagreement about where the attributes are
~0 != ~0U. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-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 f2b1a4f..4a078d6 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