diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-11-15 14:28:07 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-11-15 14:28:07 +0000 |
commit | b2aa9234b6a321baf05993ab04c00526d753ca27 (patch) | |
tree | 092559aa90cc508f4ff09569ad2151d94d00c773 /clang/lib/CodeGen/CGObjCGNU.cpp | |
parent | b34db9e88336d673c3b69a65d8ffc41491731668 (diff) | |
download | bcm5719-llvm-b2aa9234b6a321baf05993ab04c00526d753ca27.tar.gz bcm5719-llvm-b2aa9234b6a321baf05993ab04c00526d753ca27.zip |
Use empty parens for empty function parameter list instead of '(void)'.
llvm-svn: 168041
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index df73abc0600..d9510f2df66 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -385,7 +385,7 @@ private: /// a class defined in the runtime, declaring no methods, but adopting the /// protocols. This is a horribly ugly hack, but it allows us to collect all /// of the protocols without changing the ABI. - void GenerateProtocolHolderCategory(void); + void GenerateProtocolHolderCategory(); /// Generates a class structure. llvm::Constant *GenerateClassStructure( llvm::Constant *MetaClass, @@ -1810,7 +1810,7 @@ void CGObjCGNU::GenerateProtocol(const ObjCProtocolDecl *PD) { llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolTy, Elements, ".objc_protocol"), IdTy); } -void CGObjCGNU::GenerateProtocolHolderCategory(void) { +void CGObjCGNU::GenerateProtocolHolderCategory() { // Collect information about instance methods SmallVector<Selector, 1> MethodSels; SmallVector<llvm::Constant*, 1> MethodTypes; |