From bde84d2fca4217043eb8c2ba447ae2797813ca54 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 7 Oct 2008 22:33:44 +0000 Subject: [PATCH] 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 --- include/llvm/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Function.h b/include/llvm/Function.h index f2b1a4f4361..4a078d6845f 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 -- 2.34.1