mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
In preparation for introducing writing capabilities for each of these classes, I would like to adopt a Foo / FooRef naming convention, where Foo indicates that the class can manipulate and serialize Foos, and FooRef indicates that it is an immutable view of an existing Foo. In other words, Foo is a writer and FooRef is a reader. This patch names some existing readers to conform to the FooRef convention, while offering no functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301810 91177308-0d34-0410-b5e6-96231b3b80d8
34 lines
957 B
C++
34 lines
957 B
C++
//===- ModuleDebugUnknownFragment.h -----------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H
|
|
#define LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H
|
|
|
|
#include "llvm/DebugInfo/CodeView/ModuleDebugFragment.h"
|
|
#include "llvm/Support/BinaryStreamRef.h"
|
|
|
|
namespace llvm {
|
|
namespace codeview {
|
|
|
|
class ModuleDebugUnknownFragmentRef final : public ModuleDebugFragmentRef {
|
|
public:
|
|
ModuleDebugUnknownFragmentRef(ModuleDebugFragmentKind Kind,
|
|
BinaryStreamRef Data)
|
|
: ModuleDebugFragmentRef(Kind), Data(Data) {}
|
|
|
|
BinaryStreamRef getData() const { return Data; }
|
|
|
|
private:
|
|
BinaryStreamRef Data;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|