projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use empty parens for empty function parameter list instead of '(void)'.
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
PassManagerBuilder.cpp
diff --git
a/lib/Transforms/IPO/PassManagerBuilder.cpp
b/lib/Transforms/IPO/PassManagerBuilder.cpp
index 05253fcddab35b340c3bbb00beafbb21c81ffc9c..48e20ec339d24e2bb1e8eb92cd9d3043385b8ae9 100644
(file)
--- a/
lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/
lib/Transforms/IPO/PassManagerBuilder.cpp
@@
-323,7
+323,7
@@
void PassManagerBuilder::populateLTOPassManager(PassManagerBase &PM,
PM.add(createGlobalDCEPass());
}
-LLVMPassManagerBuilderRef LLVMPassManagerBuilderCreate(
void
) {
+LLVMPassManagerBuilderRef LLVMPassManagerBuilderCreate() {
PassManagerBuilder *PMB = new PassManagerBuilder();
return wrap(PMB);
}