mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-11 05:17:36 +00:00
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
This commit is contained in:
parent
f85e74cc87
commit
bde84d2fca
@ -158,7 +158,7 @@ public:
|
|||||||
///
|
///
|
||||||
void addFnAttr(Attributes N) {
|
void addFnAttr(Attributes N) {
|
||||||
// Function Attributes are stored at ~0 index
|
// Function Attributes are stored at ~0 index
|
||||||
addAttribute(~0, N);
|
addAttribute(~0U, N);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm
|
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user