[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 13 00:19:02 PST 2004
Changes in directory llvm/lib/CWriter:
Writer.cpp updated: 1.155 -> 1.156
---
Log message:
Fine grainify namespacification, prune #includes
---
Diffs of the changes: (+4 -9)
Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.155 llvm/lib/CWriter/Writer.cpp:1.156
--- llvm/lib/CWriter/Writer.cpp:1.155 Thu Feb 12 17:13:33 2004
+++ llvm/lib/CWriter/Writer.cpp Fri Feb 13 00:18:21 2004
@@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This library converts LLVM code to C code, compilable by GCC.
+// This library converts LLVM code to C code, compilable by GCC and other C
+// compilers.
//
//===----------------------------------------------------------------------===//
@@ -24,15 +25,11 @@
#include "llvm/Support/CallSite.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/InstVisitor.h"
-#include "llvm/Support/InstIterator.h"
#include "llvm/Support/Mangler.h"
#include "Support/StringExtras.h"
-#include "Support/STLExtras.h"
-#include "Config/config.h"
#include <algorithm>
#include <sstream>
-
-namespace llvm {
+using namespace llvm;
namespace {
class CWriter : public Pass, public InstVisitor<CWriter> {
@@ -1476,6 +1473,4 @@
// External Interface declaration
//===----------------------------------------------------------------------===//
-Pass *createWriteToCPass(std::ostream &o) { return new CWriter(o); }
-
-} // End llvm namespace
+Pass *llvm::createWriteToCPass(std::ostream &o) { return new CWriter(o); }
More information about the llvm-commits
mailing list