summaryrefslogtreecommitdiff
path: root/tools/obj2yaml/obj2yaml.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-03 19:42:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-03 19:42:57 +0000
commit031a179b6d47bf0f478868717e2e364c4e39225c (patch)
tree5af367c9866f198d8d2af82314df16711bbe0a96 /tools/obj2yaml/obj2yaml.h
parent15e5c46e49b5ab02fee6d1da53cb9c129cab5165 (diff)
downloadllvm-031a179b6d47bf0f478868717e2e364c4e39225c.tar.gz
llvm-031a179b6d47bf0f478868717e2e364c4e39225c.tar.bz2
llvm-031a179b6d47bf0f478868717e2e364c4e39225c.tar.xz
Remove dead code.
Thanks to Sean Silva for noticing it! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/obj2yaml/obj2yaml.h')
-rw-r--r--tools/obj2yaml/obj2yaml.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/obj2yaml/obj2yaml.h b/tools/obj2yaml/obj2yaml.h
index 7d52a2d177..bde82e618e 100644
--- a/tools/obj2yaml/obj2yaml.h
+++ b/tools/obj2yaml/obj2yaml.h
@@ -13,22 +13,10 @@
#ifndef LLVM_TOOLS_OBJ2YAML_H
#define LLVM_TOOLS_OBJ2YAML_H
-#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
-namespace objyaml { // routines for writing YAML
-// Write a hex stream:
-// <Prefix> !hex: "<hex digits>" #|<ASCII chars>\n
- llvm::raw_ostream &writeHexStream
- (llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);
-
-// Writes a number in hex; prefix it by 0x if it is >= 10
- llvm::raw_ostream &writeHexNumber
- (llvm::raw_ostream &Out, unsigned long long N);
-}
-
llvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);
#endif