1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

IR: remove "else" after "return". NFCI.

This commit is contained in:
Tim Northover 2020-01-09 14:28:48 +00:00
parent 673cd30eff
commit ddbba0d6a6

View File

@ -147,9 +147,9 @@ LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID,
// After r362128, byval attributes need to have a type attribute. Provide a
// NULL one until a proper API is added for this.
return wrap(Attribute::getWithByValType(Ctx, NULL));
} else {
return wrap(Attribute::get(Ctx, AttrKind, Val));
}
return wrap(Attribute::get(Ctx, AttrKind, Val));
}
unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A) {