diff options
author | Zachary Turner <zturner@google.com> | 2015-02-22 22:03:38 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-22 22:03:38 +0000 |
commit | 9a818ad193d19ef2f560e6da4b0fcf6748979fdb (patch) | |
tree | dc22e1c7f49c2326e9ec39be74c601925dc9b133 /llvm/lib/DebugInfo/PDB/PDBExtras.cpp | |
parent | 87f4c90a5c0b38d497e975e8e2c54bbd6f4050a5 (diff) | |
download | bcm5719-llvm-9a818ad193d19ef2f560e6da4b0fcf6748979fdb.tar.gz bcm5719-llvm-9a818ad193d19ef2f560e6da4b0fcf6748979fdb.zip |
[llvm-pdbdump] Rewrite dumper using visitor pattern.
This increases the flexibility of how to dump different
symbol types -- necessary for context-sensitive formatting of
symbol types -- and also improves the modularity by allowing
the dumping to be implemented in the actual dumper, as opposed
to in the PDB library.
llvm-svn: 230184
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBExtras.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/PDBExtras.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDBExtras.cpp b/llvm/lib/DebugInfo/PDB/PDBExtras.cpp index c9cc9c3aebf..1002b2e2dad 100644 --- a/llvm/lib/DebugInfo/PDB/PDBExtras.cpp +++ b/llvm/lib/DebugInfo/PDB/PDBExtras.cpp @@ -21,11 +21,6 @@ using namespace llvm; #define CASE_OUTPUT_ENUM_CLASS_NAME(Class, Value, Stream) \ CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream) -raw_ostream &llvm::operator<<(raw_ostream &OS, const stream_indent &Indent) { - OS.indent(Indent.Width); - return OS; -} - raw_ostream &llvm::operator<<(raw_ostream &OS, const PDB_VariantType &Type) { switch (Type) { CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) |