mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
IR: remove "else" after "return". NFCI.
This commit is contained in:
parent
673cd30eff
commit
ddbba0d6a6
@ -147,9 +147,9 @@ LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID,
|
|||||||
// After r362128, byval attributes need to have a type attribute. Provide a
|
// After r362128, byval attributes need to have a type attribute. Provide a
|
||||||
// NULL one until a proper API is added for this.
|
// NULL one until a proper API is added for this.
|
||||||
return wrap(Attribute::getWithByValType(Ctx, NULL));
|
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) {
|
unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A) {
|
||||||
|
Loading…
Reference in New Issue
Block a user