From 8e8eae6860966b46a33477928d70d98400ec7a23 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Aug 2008 22:00:15 +0000 Subject: use proper namespace qualifications llvm-svn: 55259 --- llvm/examples/BrainF/BrainFDriver.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'llvm/examples/BrainF/BrainFDriver.cpp') diff --git a/llvm/examples/BrainF/BrainFDriver.cpp b/llvm/examples/BrainF/BrainFDriver.cpp index 0a24d7b..34fb806 100644 --- a/llvm/examples/BrainF/BrainFDriver.cpp +++ b/llvm/examples/BrainF/BrainFDriver.cpp @@ -36,7 +36,6 @@ #include "llvm/Support/ManagedStatic.h" #include #include - using namespace llvm; //Command line options @@ -87,8 +86,8 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, " BrainF compiler\n"); if (InputFilename == "") { - cerr<<"Error: You must specify the filename of the program to " - "be compiled. Use --help to see the options.\n"; + std::cerr<<"Error: You must specify the filename of the program to " + "be compiled. Use --help to see the options.\n"; abort(); } @@ -130,13 +129,13 @@ int main(int argc, char **argv) { //Verify generated code if (verifyModule(*mod)) { - cerr<<"Error: module failed verification. This shouldn't happen.\n"; + std::cerr<<"Error: module failed verification. This shouldn't happen.\n"; abort(); } //Write it out if (JIT) { - cout<<"------- Running JIT -------\n"; + std::cout << "------- Running JIT -------\n"; ExistingModuleProvider *mp = new ExistingModuleProvider(mod); ExecutionEngine *ee = ExecutionEngine::create(mp, false); std::vector args; -- cgit v1.1