diff options
Diffstat (limited to 'include/llvm/Wrap/wrapper_output.h')
-rw-r--r-- | include/llvm/Wrap/wrapper_output.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/llvm/Wrap/wrapper_output.h b/include/llvm/Wrap/wrapper_output.h deleted file mode 100644 index 7045705991..0000000000 --- a/include/llvm/Wrap/wrapper_output.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright 2012 The Native Client Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can - * be found in the LICENSE file. - */ - -// Defines a generic interface to a file/memory region that -// contains a generated wrapped bitcode file, bitcode file, -// or data file. - -#ifndef LLVM_WRAP_WRAPPER_OUTPUT_H__ -#define LLVM_WRAP_WRAPPER_OUTPUT_H__ - -#include <stdint.h> -#include <stddef.h> - -#include "llvm/Support/support_macros.h" - -// The following is a generic interface to a file/memory region -// that contains a generated bitcode file, wrapped bitcode file, -// or a data file. -class WrapperOutput { - public: - WrapperOutput() {} - virtual ~WrapperOutput() {} - // Writes a single byte, returning false if unable to write. - virtual bool Write(uint8_t byte) = 0; - // Writes the specified number of bytes in the buffer to - // output. Returns false if unable to write. - virtual bool Write(const uint8_t* buffer, size_t buffer_size); - private: - DISALLOW_CLASS_COPY_AND_ASSIGN(WrapperOutput); -}; - -#endif // LLVM_WRAP_WRAPPER_OUTPUT_H__ |