Rename a few variables to be more consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matthijs Kooijman 2008-06-24 09:14:10 +00:00
parent 9ef4ca2e81
commit 4e78908b94
2 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ Pass *createPruneEHPass();
/// internalized and all others are. Otherwise if AllButMain is set and the
/// main function is found, all other globals are marked as internal.
///
ModulePass *createInternalizePass(bool InternalizeEverything);
ModulePass *createInternalizePass(bool AllButMain);
/// createInternalizePass - This pass loops over all of the functions in the
/// input module, internalizing all globals (functions and variables) not in the

View File

@ -48,7 +48,7 @@ namespace {
bool AllButMain;
public:
static char ID; // Pass identification, replacement for typeid
explicit InternalizePass(bool InternalizeEverything = true);
explicit InternalizePass(bool AllButMain = true);
explicit InternalizePass(const std::vector <const char *>& exportList);
void LoadFile(const char *Filename);
virtual bool runOnModule(Module &M);
@ -150,8 +150,8 @@ bool InternalizePass::runOnModule(Module &M) {
return Changed;
}
ModulePass *llvm::createInternalizePass(bool InternalizeEverything) {
return new InternalizePass(InternalizeEverything);
ModulePass *llvm::createInternalizePass(bool AllButMain) {
return new InternalizePass(AllButMain);
}
ModulePass *llvm::createInternalizePass(const std::vector <const char *> &el) {