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 | 2f1aa118a4a81fbdc200c42bf7e4c9fe5ce30705 (patch) | |
tree | bbd5fa12950d7e014746d295b28729ed33165d42 /llvm/tools/bugpoint/BugDriver.cpp | |
parent | 1f018c2d01bd190f883ff6df02bb793c25e7b205 (diff) | |
download | bcm5719-llvm-2f1aa118a4a81fbdc200c42bf7e4c9fe5ce30705.tar.gz bcm5719-llvm-2f1aa118a4a81fbdc200c42bf7e4c9fe5ce30705.zip |
finegrainify namespacification
llvm-svn: 10839
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 12843588c88..bbfdf27b9ee 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/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 |