From 65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Jul 2004 08:42:12 +0000 Subject: [PATCH] Fine-grainify namespacification, prune #include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14792 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/Parser.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp index 2d6185efeb0..b7ece9fdc52 100644 --- a/lib/AsmParser/Parser.cpp +++ b/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 -- 2.34.1