aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-11-15 16:51:49 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-11-15 16:51:49 +0000
commit79c07d2a36282b09b9c5d0aa65ebf4bff017621b (patch)
tree31248f56193b026fc44952e7ca596105f6184b44 /lib/VMCore
parent65f3f32100b80366785f86c64a7ff0ee697107eb (diff)
downloadexternal_llvm-79c07d2a36282b09b9c5d0aa65ebf4bff017621b.zip
external_llvm-79c07d2a36282b09b9c5d0aa65ebf4bff017621b.tar.gz
external_llvm-79c07d2a36282b09b9c5d0aa65ebf4bff017621b.tar.bz2
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
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/PassManager.cpp16
1 files changed, 8 insertions, 8 deletions
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)