From: Zachary Turner Date: Sun, 8 Feb 2015 22:53:53 +0000 (+0000) Subject: Make PDBSymbol's IPDBSymbol reference const. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4bb5abb075ab4d88280ce2bc588d1bdb4fc940b4;p=oota-llvm.git Make PDBSymbol's IPDBSymbol reference const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228553 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/PDB/PDBSymbol.h b/include/llvm/DebugInfo/PDB/PDBSymbol.h index b65089dd028..ada3ab38994 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbol.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbol.h @@ -36,11 +36,11 @@ class raw_ostream; /// https://msdn.microsoft.com/en-us/library/370hs6k4.aspx class PDBSymbol { protected: - PDBSymbol(IPDBSession &PDBSession, std::unique_ptr Symbol); + PDBSymbol(const IPDBSession &PDBSession, std::unique_ptr Symbol); public: static std::unique_ptr - create(IPDBSession &PDBSession, std::unique_ptr Symbol); + create(const IPDBSession &PDBSession, std::unique_ptr Symbol); virtual ~PDBSymbol(); @@ -62,7 +62,7 @@ public: std::unique_ptr findInlineFramesByRVA(uint32_t RVA) const; protected: - IPDBSession &Session; + const IPDBSession &Session; const std::unique_ptr RawSymbol; }; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h b/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h index 4bc488f8590..773c9925e70 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h @@ -20,7 +20,7 @@ class raw_ostream; class PDBSymbolAnnotation : public PDBSymbol { public: - PDBSymbolAnnotation(IPDBSession &PDBSession, + PDBSymbolAnnotation(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h b/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h index 1ea5000ead0..5e6c7e193cb 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h @@ -20,7 +20,7 @@ class raw_ostream; class PDBSymbolBlock : public PDBSymbol { public: - PDBSymbolBlock(IPDBSession &PDBSession, + PDBSymbolBlock(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h b/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h index 07c5340f135..b4831aa3ac3 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h @@ -20,7 +20,7 @@ class raw_ostream; class PDBSymbolCompiland : public PDBSymbol { public: - PDBSymbolCompiland(IPDBSession &PDBSession, + PDBSymbolCompiland(const IPDBSession &PDBSession, std::unique_ptr CompilandSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h b/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h index 22e26ba7c89..e498bdd5265 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolCompilandDetails : public PDBSymbol { public: - PDBSymbolCompilandDetails(IPDBSession &PDBSession, + PDBSymbolCompilandDetails(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h b/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h index 255b1181f3b..4e732882c1d 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolCompilandEnv : public PDBSymbol { public: - PDBSymbolCompilandEnv(IPDBSession &PDBSession, + PDBSymbolCompilandEnv(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h b/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h index 6304fa5d039..3d8c1fb4d94 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h @@ -24,7 +24,7 @@ class raw_ostream; /// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx class PDBSymbolCustom : public PDBSymbol { public: - PDBSymbolCustom(IPDBSession &PDBSession, + PDBSymbolCustom(const IPDBSession &PDBSession, std::unique_ptr CustomSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolData.h b/include/llvm/DebugInfo/PDB/PDBSymbolData.h index 62dc92f78f2..22098e3bda0 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolData.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolData.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolData : public PDBSymbol { public: - PDBSymbolData(IPDBSession &PDBSession, + PDBSymbolData(const IPDBSession &PDBSession, std::unique_ptr DataSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolExe.h b/include/llvm/DebugInfo/PDB/PDBSymbolExe.h index 3ca82137b75..e75e63f4537 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolExe.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolExe.h @@ -23,7 +23,7 @@ class raw_ostream; class PDBSymbolExe : public PDBSymbol { public: - PDBSymbolExe(IPDBSession &PDBSession, + PDBSymbolExe(const IPDBSession &PDBSession, std::unique_ptr ExeSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h b/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h index 61a5fe984b7..f101d3072d8 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolFunc : public PDBSymbol { public: - PDBSymbolFunc(IPDBSession &PDBSession, + PDBSymbolFunc(const IPDBSession &PDBSession, std::unique_ptr FuncSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h b/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h index 3de0d48733a..945596115c0 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolFuncDebugEnd : public PDBSymbol { public: - PDBSymbolFuncDebugEnd(IPDBSession &PDBSession, + PDBSymbolFuncDebugEnd(const IPDBSession &PDBSession, std::unique_ptr FuncDebugEndSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h b/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h index 36b37e793b4..c3ccd2532b3 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolFuncDebugStart : public PDBSymbol { public: - PDBSymbolFuncDebugStart(IPDBSession &PDBSession, + PDBSymbolFuncDebugStart(const IPDBSession &PDBSession, std::unique_ptr FuncDebugStartSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h b/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h index fac931239b3..114bb378ca1 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolLabel : public PDBSymbol { public: - PDBSymbolLabel(IPDBSession &PDBSession, + PDBSymbolLabel(const IPDBSession &PDBSession, std::unique_ptr LabelSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h b/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h index afe74144728..98d4c3bd749 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolPublicSymbol : public PDBSymbol { public: - PDBSymbolPublicSymbol(IPDBSession &PDBSession, + PDBSymbolPublicSymbol(const IPDBSession &PDBSession, std::unique_ptr PublicSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h b/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h index cd98c46497e..136b6ca997a 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h @@ -21,7 +21,7 @@ class raw_ostream; class PDBSymbolThunk : public PDBSymbol { public: - PDBSymbolThunk(IPDBSession &PDBSession, + PDBSymbolThunk(const IPDBSession &PDBSession, std::unique_ptr ThunkSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h index eb475260123..8100ea7e292 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeArray : public PDBSymbol { public: - PDBSymbolTypeArray(IPDBSession &PDBSession, + PDBSymbolTypeArray(const IPDBSession &PDBSession, std::unique_ptr ArrayTypeSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h index 39c605a7155..60c3dc28083 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeBaseClass : public PDBSymbol { public: - PDBSymbolTypeBaseClass(IPDBSession &PDBSession, + PDBSymbolTypeBaseClass(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h index 5a6c3fe3f6d..ba764ddb31b 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeBuiltin : public PDBSymbol { public: - PDBSymbolTypeBuiltin(IPDBSession &PDBSession, + PDBSymbolTypeBuiltin(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h index fc8cd02cefe..a28a6efc2cc 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeCustom : public PDBSymbol { public: - PDBSymbolTypeCustom(IPDBSession &PDBSession, + PDBSymbolTypeCustom(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h index b55d006a77b..3039b877918 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeDimension : public PDBSymbol { public: - PDBSymbolTypeDimension(IPDBSession &PDBSession, + PDBSymbolTypeDimension(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h index f216871c300..c44c4bede90 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeEnum : public PDBSymbol { public: - PDBSymbolTypeEnum(IPDBSession &PDBSession, + PDBSymbolTypeEnum(const IPDBSession &PDBSession, std::unique_ptr EnumTypeSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h index ee4240c7bc3..8e7e93e719a 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeFriend : public PDBSymbol { public: - PDBSymbolTypeFriend(IPDBSession &PDBSession, + PDBSymbolTypeFriend(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h index 58f555aaaaa..c8f1e1dfa28 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeFunctionArg : public PDBSymbol { public: - PDBSymbolTypeFunctionArg(IPDBSession &PDBSession, + PDBSymbolTypeFunctionArg(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h index 1b18629ac5d..d23d7876fef 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeFunctionSig : public PDBSymbol { public: - PDBSymbolTypeFunctionSig(IPDBSession &PDBSession, + PDBSymbolTypeFunctionSig(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h index 5b58529bb98..436f51e4500 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeManaged : public PDBSymbol { public: - PDBSymbolTypeManaged(IPDBSession &PDBSession, + PDBSymbolTypeManaged(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h index 15d6c8dfe93..2236f9a077b 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypePointer : public PDBSymbol { public: - PDBSymbolTypePointer(IPDBSession &PDBSession, + PDBSymbolTypePointer(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h index c5d8d9ecd3b..4cb13cb2b03 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeTypedef : public PDBSymbol { public: - PDBSymbolTypeTypedef(IPDBSession &PDBSession, + PDBSymbolTypeTypedef(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h index 26154ef29d1..7025502e13d 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeUDT : public PDBSymbol { public: - PDBSymbolTypeUDT(IPDBSession &PDBSession, + PDBSymbolTypeUDT(const IPDBSession &PDBSession, std::unique_ptr UDTSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h index 22fbe90cfc0..0055969ae14 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeVTable : public PDBSymbol { public: - PDBSymbolTypeVTable(IPDBSession &PDBSession, + PDBSymbolTypeVTable(const IPDBSession &PDBSession, std::unique_ptr VtblSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h b/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h index 3dd3539f720..f5d6a4aeec9 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolTypeVTableShape : public PDBSymbol { public: - PDBSymbolTypeVTableShape(IPDBSession &PDBSession, + PDBSymbolTypeVTableShape(const IPDBSession &PDBSession, std::unique_ptr VtblShapeSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h b/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h index 95e4fc78535..bcdb6835448 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolUnknown : public PDBSymbol { public: - PDBSymbolUnknown(IPDBSession &PDBSession, + PDBSymbolUnknown(const IPDBSession &PDBSession, std::unique_ptr UnknownSymbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h b/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h index 2ef4721f70a..861f81ab886 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h @@ -19,7 +19,7 @@ class raw_ostream; class PDBSymbolUsingNamespace : public PDBSymbol { public: - PDBSymbolUsingNamespace(IPDBSession &PDBSession, + PDBSymbolUsingNamespace(const IPDBSession &PDBSession, std::unique_ptr Symbol); void dump(llvm::raw_ostream &OS) const override; diff --git a/lib/DebugInfo/PDB/PDBSymbol.cpp b/lib/DebugInfo/PDB/PDBSymbol.cpp index f99fc8c18c2..bbc395284bc 100644 --- a/lib/DebugInfo/PDB/PDBSymbol.cpp +++ b/lib/DebugInfo/PDB/PDBSymbol.cpp @@ -48,7 +48,7 @@ using namespace llvm; -PDBSymbol::PDBSymbol(IPDBSession &PDBSession, +PDBSymbol::PDBSymbol(const IPDBSession &PDBSession, std::unique_ptr Symbol) : Session(PDBSession), RawSymbol(std::move(Symbol)) {} @@ -59,7 +59,7 @@ PDBSymbol::~PDBSymbol() {} return std::unique_ptr(new Type(PDBSession, std::move(Symbol))); std::unique_ptr -PDBSymbol::create(IPDBSession &PDBSession, +PDBSymbol::create(const IPDBSession &PDBSession, std::unique_ptr Symbol) { switch (Symbol->getSymTag()) { FACTORY_SYMTAG_CASE(Exe, PDBSymbolExe) diff --git a/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp b/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp index 679ddb924bf..ed30c7dba6e 100644 --- a/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolAnnotation::PDBSymbolAnnotation(IPDBSession &PDBSession, +PDBSymbolAnnotation::PDBSymbolAnnotation(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolBlock.cpp b/lib/DebugInfo/PDB/PDBSymbolBlock.cpp index 84b762fbb28..6f6f8ecffca 100644 --- a/lib/DebugInfo/PDB/PDBSymbolBlock.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolBlock.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolBlock::PDBSymbolBlock(IPDBSession &PDBSession, +PDBSymbolBlock::PDBSymbolBlock(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp b/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp index 4d2e413365b..02a48fd51f0 100644 --- a/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp @@ -17,7 +17,7 @@ using namespace llvm; -PDBSymbolCompiland::PDBSymbolCompiland(IPDBSession &PDBSession, +PDBSymbolCompiland::PDBSymbolCompiland(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp b/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp index e7bf08cb2ea..bc0344883c0 100644 --- a/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolCompilandDetails::PDBSymbolCompilandDetails( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} void PDBSymbolCompilandDetails::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp b/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp index 9be32d36021..8ad90ee5295 100644 --- a/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp @@ -16,7 +16,7 @@ using namespace llvm; PDBSymbolCompilandEnv::PDBSymbolCompilandEnv( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} std::string PDBSymbolCompilandEnv::getValue() const { diff --git a/lib/DebugInfo/PDB/PDBSymbolCustom.cpp b/lib/DebugInfo/PDB/PDBSymbolCustom.cpp index ce131422a25..0d44334f102 100644 --- a/lib/DebugInfo/PDB/PDBSymbolCustom.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolCustom.cpp @@ -15,7 +15,7 @@ using namespace llvm; -PDBSymbolCustom::PDBSymbolCustom(IPDBSession &PDBSession, +PDBSymbolCustom::PDBSymbolCustom(const IPDBSession &PDBSession, std::unique_ptr CustomSymbol) : PDBSymbol(PDBSession, std::move(CustomSymbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolData.cpp b/lib/DebugInfo/PDB/PDBSymbolData.cpp index db9518c2533..e93307fba4d 100644 --- a/lib/DebugInfo/PDB/PDBSymbolData.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolData.cpp @@ -12,7 +12,7 @@ using namespace llvm; -PDBSymbolData::PDBSymbolData(IPDBSession &PDBSession, +PDBSymbolData::PDBSymbolData(const IPDBSession &PDBSession, std::unique_ptr DataSymbol) : PDBSymbol(PDBSession, std::move(DataSymbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolExe.cpp b/lib/DebugInfo/PDB/PDBSymbolExe.cpp index c65c9fbbc74..494c51c9b91 100644 --- a/lib/DebugInfo/PDB/PDBSymbolExe.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolExe.cpp @@ -17,7 +17,7 @@ using namespace llvm; -PDBSymbolExe::PDBSymbolExe(IPDBSession &PDBSession, +PDBSymbolExe::PDBSymbolExe(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolFunc.cpp b/lib/DebugInfo/PDB/PDBSymbolFunc.cpp index f070a1d7045..38959f1445f 100644 --- a/lib/DebugInfo/PDB/PDBSymbolFunc.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolFunc.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolFunc::PDBSymbolFunc(IPDBSession &PDBSession, +PDBSymbolFunc::PDBSymbolFunc(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp b/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp index a88ea2a7d7c..4f5cf794e32 100644 --- a/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolFuncDebugEnd::PDBSymbolFuncDebugEnd( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} void PDBSymbolFuncDebugEnd::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp b/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp index 6128e05460d..151c25ed36d 100644 --- a/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolFuncDebugStart::PDBSymbolFuncDebugStart( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} void PDBSymbolFuncDebugStart::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolLabel.cpp b/lib/DebugInfo/PDB/PDBSymbolLabel.cpp index 0b893c3c1a5..3d6f9d79420 100644 --- a/lib/DebugInfo/PDB/PDBSymbolLabel.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolLabel.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolLabel::PDBSymbolLabel(IPDBSession &PDBSession, +PDBSymbolLabel::PDBSymbolLabel(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp b/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp index b56abb08224..7a63051ffa3 100644 --- a/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolPublicSymbol::PDBSymbolPublicSymbol( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} void PDBSymbolPublicSymbol::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolThunk.cpp b/lib/DebugInfo/PDB/PDBSymbolThunk.cpp index a6ff4738e51..70cfa9cdaa6 100644 --- a/lib/DebugInfo/PDB/PDBSymbolThunk.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolThunk.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolThunk::PDBSymbolThunk(IPDBSession &PDBSession, +PDBSymbolThunk::PDBSymbolThunk(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp index 239681abe81..12fe8650ccc 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeArray::PDBSymbolTypeArray(IPDBSession &PDBSession, +PDBSymbolTypeArray::PDBSymbolTypeArray(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp index 545d66e7c8e..7e28e024604 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeBaseClass::PDBSymbolTypeBaseClass( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(Session, std::move(Symbol)) {} void PDBSymbolTypeBaseClass::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp index 065231f980e..e1d00aecb57 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeBuiltin::PDBSymbolTypeBuiltin( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeBuiltin::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp index a4c125c85b4..2b78c9036ce 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeCustom::PDBSymbolTypeCustom(IPDBSession &PDBSession, +PDBSymbolTypeCustom::PDBSymbolTypeCustom(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp index 1ace2fc0d99..7912164f4f4 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp @@ -16,7 +16,7 @@ using namespace llvm; PDBSymbolTypeDimension::PDBSymbolTypeDimension( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeDimension::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp index c97a04203b6..133ccea0f7c 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeEnum::PDBSymbolTypeEnum(IPDBSession &PDBSession, +PDBSymbolTypeEnum::PDBSymbolTypeEnum(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp index 8587dcfab4c..303d2b14b37 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeFriend::PDBSymbolTypeFriend(IPDBSession &PDBSession, +PDBSymbolTypeFriend::PDBSymbolTypeFriend(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp index de8c4bff451..9a1af4f88fd 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeFunctionArg::PDBSymbolTypeFunctionArg( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeFunctionArg::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp index 73f61e9c35c..c31185ef7b6 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeFunctionSig::PDBSymbolTypeFunctionSig( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeFunctionSig::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp index cf3339c60a4..2a024f59906 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeManaged::PDBSymbolTypeManaged( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeManaged::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp b/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp index b081cdd0a5d..95ea850011d 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp @@ -16,7 +16,7 @@ using namespace llvm; PDBSymbolTypePointer::PDBSymbolTypePointer( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypePointer::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp index 42ab5018d13..8b4fd5d4bb4 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp @@ -16,7 +16,7 @@ using namespace llvm; PDBSymbolTypeTypedef::PDBSymbolTypeTypedef( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeTypedef::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp index 32b003c5216..bd09fbad8a0 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeUDT::PDBSymbolTypeUDT(IPDBSession &PDBSession, +PDBSymbolTypeUDT::PDBSymbolTypeUDT(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp index ca533abe8e8..52169bb40aa 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolTypeVTable::PDBSymbolTypeVTable(IPDBSession &PDBSession, +PDBSymbolTypeVTable::PDBSymbolTypeVTable(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp b/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp index b8336f440a4..186f86f537d 100644 --- a/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolTypeVTableShape::PDBSymbolTypeVTableShape( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolTypeVTableShape::dump(llvm::raw_ostream &OS) const {} diff --git a/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp b/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp index 371d8b968fe..56b70232c3d 100644 --- a/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp @@ -14,7 +14,7 @@ using namespace llvm; -PDBSymbolUnknown::PDBSymbolUnknown(IPDBSession &PDBSession, +PDBSymbolUnknown::PDBSymbolUnknown(const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} diff --git a/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp b/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp index 2045ec093a2..05590677cf1 100644 --- a/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp @@ -15,7 +15,7 @@ using namespace llvm; PDBSymbolUsingNamespace::PDBSymbolUsingNamespace( - IPDBSession &PDBSession, std::unique_ptr Symbol) + const IPDBSession &PDBSession, std::unique_ptr Symbol) : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolUsingNamespace::dump(llvm::raw_ostream &OS) const {}