diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-01-14 03:38:37 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-01-14 03:38:37 +0000 |
| commit | fa76183e8e28985dfd17b1d6291c939dab4cbe1d (patch) | |
| tree | 5898187ef916460b4a0b844abf0ddee8a8bf1879 /tools/bugpoint/BugDriver.cpp | |
| parent | 277bafbff7384f282c4a409863c220536d6f09b6 (diff) | |
finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
| -rw-r--r-- | tools/bugpoint/BugDriver.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 12843588c8..bbfdf27b9e 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -22,7 +22,6 @@ #include "Support/CommandLine.h" #include "Support/FileUtilities.h" #include <memory> - using namespace llvm; // Anonymous namespace to define command line options for debugging. @@ -38,12 +37,10 @@ namespace { "(for miscompilation detection)")); } -namespace llvm { - /// getPassesString - Turn a list of passes into a string which indicates the /// command line options that must be passed to add the passes. /// -std::string getPassesString(const std::vector<const PassInfo*> &Passes) { +std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) { std::string Result; for (unsigned i = 0, e = Passes.size(); i != e; ++i) { if (i) Result += " "; @@ -56,7 +53,7 @@ std::string getPassesString(const std::vector<const PassInfo*> &Passes) { // DeleteFunctionBody - "Remove" the function by deleting all of its basic // blocks, making it external. // -void DeleteFunctionBody(Function *F) { +void llvm::DeleteFunctionBody(Function *F) { // delete the body of the function... F->deleteBody(); assert(F->isExternal() && "This didn't make the function external!"); @@ -184,4 +181,3 @@ void BugDriver::PrintFunctionList(const std::vector<Function*> &Funcs) { std::cout << std::flush; } -} // End llvm namespace |
