summaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/Parser.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-13 08:42:12 +0000
committerChris Lattner <sabre@nondot.org>2004-07-13 08:42:12 +0000
commit65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b (patch)
tree9f8f0a6b3c7346a606157d7f04d6d1095c00cb92 /lib/AsmParser/Parser.cpp
parent22ae232d98c301752955f29a4a521bf07e56a757 (diff)
downloadexternal_llvm-65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b.zip
external_llvm-65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b.tar.gz
external_llvm-65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b.tar.bz2
Fine-grainify namespacification, prune #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/Parser.cpp')
-rw-r--r--lib/AsmParser/Parser.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp
index 2d6185e..b7ece9f 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