Rename a few variables to be more consistent.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 24 Jun 2008 09:14:10 +0000 (09:14 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 24 Jun 2008 09:14:10 +0000 (09:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52672 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h
lib/Transforms/IPO/Internalize.cpp

index 71b3fa7b08cd784f4671913fbf49166b78f4728a..57377f985561117253b703aedb85bdfb509f70c9 100644 (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
index e1c6fe971f23f95f006b61ff2eefa63150d929ab..577d69cf60b893ae4cbb6ad31162b757a7770e55 100644 (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) {