[llvm-commits] CVS: llvm/lib/AsmParser/Parser.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 13 01:42:22 PDT 2004



Changes in directory llvm/lib/AsmParser:

Parser.cpp updated: 1.13 -> 1.14

---
Log message:

Fine-grainify namespacification, prune #include


---
Diffs of the changes:  (+2 -6)

Index: llvm/lib/AsmParser/Parser.cpp
diff -u llvm/lib/AsmParser/Parser.cpp:1.13 llvm/lib/AsmParser/Parser.cpp:1.14
--- llvm/lib/AsmParser/Parser.cpp:1.13	Tue Nov 11 16:41:32 2003
+++ llvm/lib/AsmParser/Parser.cpp	Tue Jul 13 03:42:12 2004
@@ -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 @@
   
   return Result + ": " + Message;
 }
-
-} // End llvm namespace





More information about the llvm-commits mailing list