[llvm-commits] CVS: llvm/include/llvm/Assembly/CachedWriter.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 14 19:51:29 PDT 2004
Changes in directory llvm/include/llvm/Assembly:
CachedWriter.h updated: 1.18 -> 1.19
---
Log message:
Fixes for PR341: http://llvm.cs.uiuc.edu/PR341
---
Diffs of the changes: (+3 -11)
Index: llvm/include/llvm/Assembly/CachedWriter.h
diff -u llvm/include/llvm/Assembly/CachedWriter.h:1.18 llvm/include/llvm/Assembly/CachedWriter.h:1.19
--- llvm/include/llvm/Assembly/CachedWriter.h:1.18 Fri Jun 4 16:10:35 2004
+++ llvm/include/llvm/Assembly/CachedWriter.h Wed Jul 14 21:51:18 2004
@@ -20,15 +20,12 @@
#include "llvm/Value.h"
#include <iostream>
-namespace {
-class SlotMachine; // Internal private class
-}
-
namespace llvm {
class Module;
class PointerType;
class AssemblyWriter; // Internal private class
+class SlotMachine;
class CachedWriter {
AssemblyWriter *AW;
@@ -53,14 +50,9 @@
// setModule - Invalidate internal state, use the new module instead.
void setModule(const Module *M);
- CachedWriter &operator<<(const Value *V);
-
- inline CachedWriter &operator<<(const Value &X) {
- return *this << &X;
- }
+ CachedWriter &operator<<(const Value &V);
- CachedWriter &operator<<(const Type *X);
- inline CachedWriter &operator<<(const PointerType *X);
+ CachedWriter &operator<<(const Type &X);
inline CachedWriter &operator<<(std::ostream &(&Manip)(std::ostream &)) {
Out << Manip; return *this;
More information about the llvm-commits
mailing list