mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Change () to (void) in the C API.
llvm-svn: 272506
This commit is contained in:
parent
eb63d26915
commit
e75a78828b
@ -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…
Reference in New Issue
Block a user