Make PDBSymbol's IPDBSymbol reference const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2015-02-08 22:53:53 +00:00
parent 1af442e572
commit 4bb5abb075
64 changed files with 67 additions and 67 deletions

View File

@ -36,11 +36,11 @@ class raw_ostream;
/// https://msdn.microsoft.com/en-us/library/370hs6k4.aspx /// https://msdn.microsoft.com/en-us/library/370hs6k4.aspx
class PDBSymbol { class PDBSymbol {
protected: protected:
PDBSymbol(IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol); PDBSymbol(const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol);
public: public:
static std::unique_ptr<PDBSymbol> static std::unique_ptr<PDBSymbol>
create(IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol); create(const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol);
virtual ~PDBSymbol(); virtual ~PDBSymbol();
@ -62,7 +62,7 @@ public:
std::unique_ptr<IPDBEnumSymbols> findInlineFramesByRVA(uint32_t RVA) const; std::unique_ptr<IPDBEnumSymbols> findInlineFramesByRVA(uint32_t RVA) const;
protected: protected:
IPDBSession &Session; const IPDBSession &Session;
const std::unique_ptr<IPDBRawSymbol> RawSymbol; const std::unique_ptr<IPDBRawSymbol> RawSymbol;
}; };

View File

@ -20,7 +20,7 @@ class raw_ostream;
class PDBSymbolAnnotation : public PDBSymbol { class PDBSymbolAnnotation : public PDBSymbol {
public: public:
PDBSymbolAnnotation(IPDBSession &PDBSession, PDBSymbolAnnotation(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -20,7 +20,7 @@ class raw_ostream;
class PDBSymbolBlock : public PDBSymbol { class PDBSymbolBlock : public PDBSymbol {
public: public:
PDBSymbolBlock(IPDBSession &PDBSession, PDBSymbolBlock(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -20,7 +20,7 @@ class raw_ostream;
class PDBSymbolCompiland : public PDBSymbol { class PDBSymbolCompiland : public PDBSymbol {
public: public:
PDBSymbolCompiland(IPDBSession &PDBSession, PDBSymbolCompiland(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> CompilandSymbol); std::unique_ptr<IPDBRawSymbol> CompilandSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolCompilandDetails : public PDBSymbol { class PDBSymbolCompilandDetails : public PDBSymbol {
public: public:
PDBSymbolCompilandDetails(IPDBSession &PDBSession, PDBSymbolCompilandDetails(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolCompilandEnv : public PDBSymbol { class PDBSymbolCompilandEnv : public PDBSymbol {
public: public:
PDBSymbolCompilandEnv(IPDBSession &PDBSession, PDBSymbolCompilandEnv(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -24,7 +24,7 @@ class raw_ostream;
/// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx /// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx
class PDBSymbolCustom : public PDBSymbol { class PDBSymbolCustom : public PDBSymbol {
public: public:
PDBSymbolCustom(IPDBSession &PDBSession, PDBSymbolCustom(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> CustomSymbol); std::unique_ptr<IPDBRawSymbol> CustomSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolData : public PDBSymbol { class PDBSymbolData : public PDBSymbol {
public: public:
PDBSymbolData(IPDBSession &PDBSession, PDBSymbolData(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> DataSymbol); std::unique_ptr<IPDBRawSymbol> DataSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -23,7 +23,7 @@ class raw_ostream;
class PDBSymbolExe : public PDBSymbol { class PDBSymbolExe : public PDBSymbol {
public: public:
PDBSymbolExe(IPDBSession &PDBSession, PDBSymbolExe(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> ExeSymbol); std::unique_ptr<IPDBRawSymbol> ExeSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolFunc : public PDBSymbol { class PDBSymbolFunc : public PDBSymbol {
public: public:
PDBSymbolFunc(IPDBSession &PDBSession, PDBSymbolFunc(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> FuncSymbol); std::unique_ptr<IPDBRawSymbol> FuncSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolFuncDebugEnd : public PDBSymbol { class PDBSymbolFuncDebugEnd : public PDBSymbol {
public: public:
PDBSymbolFuncDebugEnd(IPDBSession &PDBSession, PDBSymbolFuncDebugEnd(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> FuncDebugEndSymbol); std::unique_ptr<IPDBRawSymbol> FuncDebugEndSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolFuncDebugStart : public PDBSymbol { class PDBSymbolFuncDebugStart : public PDBSymbol {
public: public:
PDBSymbolFuncDebugStart(IPDBSession &PDBSession, PDBSymbolFuncDebugStart(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> FuncDebugStartSymbol); std::unique_ptr<IPDBRawSymbol> FuncDebugStartSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolLabel : public PDBSymbol { class PDBSymbolLabel : public PDBSymbol {
public: public:
PDBSymbolLabel(IPDBSession &PDBSession, PDBSymbolLabel(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> LabelSymbol); std::unique_ptr<IPDBRawSymbol> LabelSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolPublicSymbol : public PDBSymbol { class PDBSymbolPublicSymbol : public PDBSymbol {
public: public:
PDBSymbolPublicSymbol(IPDBSession &PDBSession, PDBSymbolPublicSymbol(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> PublicSymbol); std::unique_ptr<IPDBRawSymbol> PublicSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -21,7 +21,7 @@ class raw_ostream;
class PDBSymbolThunk : public PDBSymbol { class PDBSymbolThunk : public PDBSymbol {
public: public:
PDBSymbolThunk(IPDBSession &PDBSession, PDBSymbolThunk(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> ThunkSymbol); std::unique_ptr<IPDBRawSymbol> ThunkSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeArray : public PDBSymbol { class PDBSymbolTypeArray : public PDBSymbol {
public: public:
PDBSymbolTypeArray(IPDBSession &PDBSession, PDBSymbolTypeArray(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> ArrayTypeSymbol); std::unique_ptr<IPDBRawSymbol> ArrayTypeSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeBaseClass : public PDBSymbol { class PDBSymbolTypeBaseClass : public PDBSymbol {
public: public:
PDBSymbolTypeBaseClass(IPDBSession &PDBSession, PDBSymbolTypeBaseClass(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeBuiltin : public PDBSymbol { class PDBSymbolTypeBuiltin : public PDBSymbol {
public: public:
PDBSymbolTypeBuiltin(IPDBSession &PDBSession, PDBSymbolTypeBuiltin(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeCustom : public PDBSymbol { class PDBSymbolTypeCustom : public PDBSymbol {
public: public:
PDBSymbolTypeCustom(IPDBSession &PDBSession, PDBSymbolTypeCustom(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeDimension : public PDBSymbol { class PDBSymbolTypeDimension : public PDBSymbol {
public: public:
PDBSymbolTypeDimension(IPDBSession &PDBSession, PDBSymbolTypeDimension(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeEnum : public PDBSymbol { class PDBSymbolTypeEnum : public PDBSymbol {
public: public:
PDBSymbolTypeEnum(IPDBSession &PDBSession, PDBSymbolTypeEnum(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> EnumTypeSymbol); std::unique_ptr<IPDBRawSymbol> EnumTypeSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeFriend : public PDBSymbol { class PDBSymbolTypeFriend : public PDBSymbol {
public: public:
PDBSymbolTypeFriend(IPDBSession &PDBSession, PDBSymbolTypeFriend(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeFunctionArg : public PDBSymbol { class PDBSymbolTypeFunctionArg : public PDBSymbol {
public: public:
PDBSymbolTypeFunctionArg(IPDBSession &PDBSession, PDBSymbolTypeFunctionArg(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeFunctionSig : public PDBSymbol { class PDBSymbolTypeFunctionSig : public PDBSymbol {
public: public:
PDBSymbolTypeFunctionSig(IPDBSession &PDBSession, PDBSymbolTypeFunctionSig(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeManaged : public PDBSymbol { class PDBSymbolTypeManaged : public PDBSymbol {
public: public:
PDBSymbolTypeManaged(IPDBSession &PDBSession, PDBSymbolTypeManaged(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypePointer : public PDBSymbol { class PDBSymbolTypePointer : public PDBSymbol {
public: public:
PDBSymbolTypePointer(IPDBSession &PDBSession, PDBSymbolTypePointer(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeTypedef : public PDBSymbol { class PDBSymbolTypeTypedef : public PDBSymbol {
public: public:
PDBSymbolTypeTypedef(IPDBSession &PDBSession, PDBSymbolTypeTypedef(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeUDT : public PDBSymbol { class PDBSymbolTypeUDT : public PDBSymbol {
public: public:
PDBSymbolTypeUDT(IPDBSession &PDBSession, PDBSymbolTypeUDT(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> UDTSymbol); std::unique_ptr<IPDBRawSymbol> UDTSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeVTable : public PDBSymbol { class PDBSymbolTypeVTable : public PDBSymbol {
public: public:
PDBSymbolTypeVTable(IPDBSession &PDBSession, PDBSymbolTypeVTable(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> VtblSymbol); std::unique_ptr<IPDBRawSymbol> VtblSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolTypeVTableShape : public PDBSymbol { class PDBSymbolTypeVTableShape : public PDBSymbol {
public: public:
PDBSymbolTypeVTableShape(IPDBSession &PDBSession, PDBSymbolTypeVTableShape(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> VtblShapeSymbol); std::unique_ptr<IPDBRawSymbol> VtblShapeSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolUnknown : public PDBSymbol { class PDBSymbolUnknown : public PDBSymbol {
public: public:
PDBSymbolUnknown(IPDBSession &PDBSession, PDBSymbolUnknown(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> UnknownSymbol); std::unique_ptr<IPDBRawSymbol> UnknownSymbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -19,7 +19,7 @@ class raw_ostream;
class PDBSymbolUsingNamespace : public PDBSymbol { class PDBSymbolUsingNamespace : public PDBSymbol {
public: public:
PDBSymbolUsingNamespace(IPDBSession &PDBSession, PDBSymbolUsingNamespace(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol); std::unique_ptr<IPDBRawSymbol> Symbol);
void dump(llvm::raw_ostream &OS) const override; void dump(llvm::raw_ostream &OS) const override;

View File

@ -48,7 +48,7 @@
using namespace llvm; using namespace llvm;
PDBSymbol::PDBSymbol(IPDBSession &PDBSession, PDBSymbol::PDBSymbol(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: Session(PDBSession), RawSymbol(std::move(Symbol)) {} : Session(PDBSession), RawSymbol(std::move(Symbol)) {}
@ -59,7 +59,7 @@ PDBSymbol::~PDBSymbol() {}
return std::unique_ptr<PDBSymbol>(new Type(PDBSession, std::move(Symbol))); return std::unique_ptr<PDBSymbol>(new Type(PDBSession, std::move(Symbol)));
std::unique_ptr<PDBSymbol> std::unique_ptr<PDBSymbol>
PDBSymbol::create(IPDBSession &PDBSession, PDBSymbol::create(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) { std::unique_ptr<IPDBRawSymbol> Symbol) {
switch (Symbol->getSymTag()) { switch (Symbol->getSymTag()) {
FACTORY_SYMTAG_CASE(Exe, PDBSymbolExe) FACTORY_SYMTAG_CASE(Exe, PDBSymbolExe)

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolAnnotation::PDBSymbolAnnotation(IPDBSession &PDBSession, PDBSymbolAnnotation::PDBSymbolAnnotation(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolBlock::PDBSymbolBlock(IPDBSession &PDBSession, PDBSymbolBlock::PDBSymbolBlock(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}

View File

@ -17,7 +17,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolCompiland::PDBSymbolCompiland(IPDBSession &PDBSession, PDBSymbolCompiland::PDBSymbolCompiland(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolCompilandDetails::PDBSymbolCompilandDetails( PDBSymbolCompilandDetails::PDBSymbolCompilandDetails(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}
void PDBSymbolCompilandDetails::dump(llvm::raw_ostream &OS) const {} void PDBSymbolCompilandDetails::dump(llvm::raw_ostream &OS) const {}

View File

@ -16,7 +16,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolCompilandEnv::PDBSymbolCompilandEnv( PDBSymbolCompilandEnv::PDBSymbolCompilandEnv(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
std::string PDBSymbolCompilandEnv::getValue() const { std::string PDBSymbolCompilandEnv::getValue() const {

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolCustom::PDBSymbolCustom(IPDBSession &PDBSession, PDBSymbolCustom::PDBSymbolCustom(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> CustomSymbol) std::unique_ptr<IPDBRawSymbol> CustomSymbol)
: PDBSymbol(PDBSession, std::move(CustomSymbol)) {} : PDBSymbol(PDBSession, std::move(CustomSymbol)) {}

View File

@ -12,7 +12,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolData::PDBSymbolData(IPDBSession &PDBSession, PDBSymbolData::PDBSymbolData(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> DataSymbol) std::unique_ptr<IPDBRawSymbol> DataSymbol)
: PDBSymbol(PDBSession, std::move(DataSymbol)) {} : PDBSymbol(PDBSession, std::move(DataSymbol)) {}

View File

@ -17,7 +17,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolExe::PDBSymbolExe(IPDBSession &PDBSession, PDBSymbolExe::PDBSymbolExe(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolFunc::PDBSymbolFunc(IPDBSession &PDBSession, PDBSymbolFunc::PDBSymbolFunc(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolFuncDebugEnd::PDBSymbolFuncDebugEnd( PDBSymbolFuncDebugEnd::PDBSymbolFuncDebugEnd(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}
void PDBSymbolFuncDebugEnd::dump(llvm::raw_ostream &OS) const {} void PDBSymbolFuncDebugEnd::dump(llvm::raw_ostream &OS) const {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolFuncDebugStart::PDBSymbolFuncDebugStart( PDBSymbolFuncDebugStart::PDBSymbolFuncDebugStart(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}
void PDBSymbolFuncDebugStart::dump(llvm::raw_ostream &OS) const {} void PDBSymbolFuncDebugStart::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolLabel::PDBSymbolLabel(IPDBSession &PDBSession, PDBSymbolLabel::PDBSymbolLabel(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolPublicSymbol::PDBSymbolPublicSymbol( PDBSymbolPublicSymbol::PDBSymbolPublicSymbol(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}
void PDBSymbolPublicSymbol::dump(llvm::raw_ostream &OS) const {} void PDBSymbolPublicSymbol::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolThunk::PDBSymbolThunk(IPDBSession &PDBSession, PDBSymbolThunk::PDBSymbolThunk(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeArray::PDBSymbolTypeArray(IPDBSession &PDBSession, PDBSymbolTypeArray::PDBSymbolTypeArray(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeBaseClass::PDBSymbolTypeBaseClass( PDBSymbolTypeBaseClass::PDBSymbolTypeBaseClass(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(Session, std::move(Symbol)) {} : PDBSymbol(Session, std::move(Symbol)) {}
void PDBSymbolTypeBaseClass::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeBaseClass::dump(llvm::raw_ostream &OS) const {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeBuiltin::PDBSymbolTypeBuiltin( PDBSymbolTypeBuiltin::PDBSymbolTypeBuiltin(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeBuiltin::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeBuiltin::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeCustom::PDBSymbolTypeCustom(IPDBSession &PDBSession, PDBSymbolTypeCustom::PDBSymbolTypeCustom(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -16,7 +16,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeDimension::PDBSymbolTypeDimension( PDBSymbolTypeDimension::PDBSymbolTypeDimension(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeDimension::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeDimension::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeEnum::PDBSymbolTypeEnum(IPDBSession &PDBSession, PDBSymbolTypeEnum::PDBSymbolTypeEnum(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeFriend::PDBSymbolTypeFriend(IPDBSession &PDBSession, PDBSymbolTypeFriend::PDBSymbolTypeFriend(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeFunctionArg::PDBSymbolTypeFunctionArg( PDBSymbolTypeFunctionArg::PDBSymbolTypeFunctionArg(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeFunctionArg::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeFunctionArg::dump(llvm::raw_ostream &OS) const {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeFunctionSig::PDBSymbolTypeFunctionSig( PDBSymbolTypeFunctionSig::PDBSymbolTypeFunctionSig(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeFunctionSig::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeFunctionSig::dump(llvm::raw_ostream &OS) const {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeManaged::PDBSymbolTypeManaged( PDBSymbolTypeManaged::PDBSymbolTypeManaged(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeManaged::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeManaged::dump(llvm::raw_ostream &OS) const {}

View File

@ -16,7 +16,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypePointer::PDBSymbolTypePointer( PDBSymbolTypePointer::PDBSymbolTypePointer(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypePointer::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypePointer::dump(llvm::raw_ostream &OS) const {}

View File

@ -16,7 +16,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeTypedef::PDBSymbolTypeTypedef( PDBSymbolTypeTypedef::PDBSymbolTypeTypedef(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeTypedef::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeTypedef::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeUDT::PDBSymbolTypeUDT(IPDBSession &PDBSession, PDBSymbolTypeUDT::PDBSymbolTypeUDT(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeVTable::PDBSymbolTypeVTable(IPDBSession &PDBSession, PDBSymbolTypeVTable::PDBSymbolTypeVTable(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolTypeVTableShape::PDBSymbolTypeVTableShape( PDBSymbolTypeVTableShape::PDBSymbolTypeVTableShape(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolTypeVTableShape::dump(llvm::raw_ostream &OS) const {} void PDBSymbolTypeVTableShape::dump(llvm::raw_ostream &OS) const {}

View File

@ -14,7 +14,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolUnknown::PDBSymbolUnknown(IPDBSession &PDBSession, PDBSymbolUnknown::PDBSymbolUnknown(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol) std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}

View File

@ -15,7 +15,7 @@
using namespace llvm; using namespace llvm;
PDBSymbolUsingNamespace::PDBSymbolUsingNamespace( PDBSymbolUsingNamespace::PDBSymbolUsingNamespace(
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(PDBSession, std::move(Symbol)) {} : PDBSymbol(PDBSession, std::move(Symbol)) {}
void PDBSymbolUsingNamespace::dump(llvm::raw_ostream &OS) const {} void PDBSymbolUsingNamespace::dump(llvm::raw_ostream &OS) const {}