diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-13 08:42:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-13 08:42:12 +0000 |
commit | d25cad9f3814b58b1ff84da0b3d5ab734724f3e0 (patch) | |
tree | 08c96738e2c2b6e7ebd62d415f38b3a41b9bfb10 /llvm/lib/AsmParser/Parser.cpp | |
parent | e84a2ba99fec058f91fb38025fe921ec2bc18e46 (diff) | |
download | bcm5719-llvm-d25cad9f3814b58b1ff84da0b3d5ab734724f3e0.tar.gz bcm5719-llvm-d25cad9f3814b58b1ff84da0b3d5ab734724f3e0.zip |
Fine-grainify namespacification, prune #include
llvm-svn: 14792
Diffstat (limited to 'llvm/lib/AsmParser/Parser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/Parser.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/AsmParser/Parser.cpp b/llvm/lib/AsmParser/Parser.cpp index 2d6185efeb0..b7ece9fdc52 100644 --- a/llvm/lib/AsmParser/Parser.cpp +++ b/llvm/lib/AsmParser/Parser.cpp @@ -13,14 +13,12 @@ #include "ParserInternals.h" #include "llvm/Module.h" -#include "llvm/Analysis/Verifier.h" - -namespace llvm { +using namespace llvm; // The useful interface defined by this file... Parse an ASCII file, and return // the internal representation in a nice slice'n'dice'able representation. // -Module *ParseAssemblyFile(const std::string &Filename) { +Module *llvm::ParseAssemblyFile(const std::string &Filename) { FILE *F = stdin; if (Filename != "-") { @@ -84,5 +82,3 @@ const std::string ParseException::getMessage() const { return Result + ": " + Message; } - -} // End llvm namespace |