From 79c07d2a36282b09b9c5d0aa65ebf4bff017621b Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 15 Nov 2012 16:51:49 +0000 Subject: Use empty parens for empty function parameter list instead of '(void)'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168049 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index b70a27e..8362034 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -311,11 +311,11 @@ public: /// doInitialization - Run all of the initializers for the module passes. /// - bool doInitialization(void); + bool doInitialization(); /// doFinalization - Run all of the finalizers for the module passes. /// - bool doFinalization(void); + bool doFinalization(); /// Pass Manager itself does not invalidate any analysis info. void getAnalysisUsage(AnalysisUsage &Info) const { @@ -404,11 +404,11 @@ public: /// doInitialization - Run all of the initializers for the module passes. /// - bool doInitialization(void); + bool doInitialization(); /// doFinalization - Run all of the finalizers for the module passes. /// - bool doFinalization(void); + bool doFinalization(); /// Pass Manager itself does not invalidate any analysis info. void getAnalysisUsage(AnalysisUsage &Info) const { @@ -1616,7 +1616,7 @@ MPPassManager::runOnModule(Module &M) { /// Run all of the initializers for the module passes. /// -bool MPPassManager::doInitialization(void) { +bool MPPassManager::doInitialization() { bool Changed = false; for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) @@ -1627,7 +1627,7 @@ bool MPPassManager::doInitialization(void) { /// Run all of the finalizers for the module passes. /// -bool MPPassManager::doFinalization(void) { +bool MPPassManager::doFinalization() { bool Changed = false; for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) @@ -1680,7 +1680,7 @@ Pass* MPPassManager::getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F){ //===----------------------------------------------------------------------===// // PassManagerImpl implementation -bool PassManagerImpl::doInitialization(void) { +bool PassManagerImpl::doInitialization() { bool Changed = false; for (unsigned Index = 0; Index < getNumContainedManagers(); ++Index) @@ -1689,7 +1689,7 @@ bool PassManagerImpl::doInitialization(void) { return Changed; } -bool PassManagerImpl::doFinalization(void) { +bool PassManagerImpl::doFinalization() { bool Changed = false; for (unsigned Index = 0; Index < getNumContainedManagers(); ++Index) -- cgit v1.1