mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 02:47:25 +00:00
Change () to (void) in the C API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cc691dd8da
commit
58fd93ad90
@ -502,7 +502,7 @@ unsigned LLVMGetMDKindID(const char *Name, unsigned SLen);
|
|||||||
* going through the C API deprecation cycle.
|
* going through the C API deprecation cycle.
|
||||||
*/
|
*/
|
||||||
unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen);
|
unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen);
|
||||||
unsigned LLVMGetLastEnumAttributeKind();
|
unsigned LLVMGetLastEnumAttributeKind(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an enum attribute.
|
* Create an enum attribute.
|
||||||
|
@ -128,7 +128,7 @@ unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen) {
|
|||||||
return getAttrKindFromName(StringRef(Name, SLen));
|
return getAttrKindFromName(StringRef(Name, SLen));
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned LLVMGetLastEnumAttributeKind() {
|
unsigned LLVMGetLastEnumAttributeKind(void) {
|
||||||
return Attribute::AttrKind::EndAttrKinds;
|
return Attribute::AttrKind::EndAttrKinds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user