Fix disagreement about where the attributes are

~0 != ~0U.

llvm-svn: 57268
This commit is contained in:
Eric Christopher 2008-10-07 22:33:44 +00:00
parent a432b2efcf
commit 9fedacbede
1 changed files with 1 additions and 1 deletions

View File

@ -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