Some cleanup for libpdb.
authorZachary Turner <zturner@google.com>
Sun, 8 Feb 2015 00:29:29 +0000 (00:29 +0000)
committerZachary Turner <zturner@google.com>
Sun, 8 Feb 2015 00:29:29 +0000 (00:29 +0000)
commite642985be95bdf8ecca36652b3c560b434af71cf
tree3a502ff56f375dfd0e5c9a91964a0abf93fa05f5
parent3e7edda4aab617e7c801e5e2edfda8a6bdb19794
Some cleanup for libpdb.

This patch implements a few of the optional suggestions from the
initial patch comitting libpdb.  In particular, it implements a
virtual function out of line for each of the concrete classes.

A few other minor cleanups exist as well, such as using override
instead of virtual, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228516 91177308-0d34-0410-b5e6-96231b3b80d8
68 files changed:
include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
include/llvm/DebugInfo/PDB/PDBSymbol.h
include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h
include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h
include/llvm/DebugInfo/PDB/PDBSymbolCustom.h
include/llvm/DebugInfo/PDB/PDBSymbolData.h
include/llvm/DebugInfo/PDB/PDBSymbolExe.h
include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h
include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h
include/llvm/DebugInfo/PDB/PDBSymbolLabel.h
include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h
include/llvm/DebugInfo/PDB/PDBSymbolThunk.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h
include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
include/llvm/DebugInfo/PDB/PDBTypes.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp
lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolBlock.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
lib/DebugInfo/PDB/PDBSymbolCustom.cpp
lib/DebugInfo/PDB/PDBSymbolData.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolExe.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolFunc.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolLabel.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolThunk.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolUnknown.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp [new file with mode: 0644]
unittests/DebugInfo/PDB/PDBApiTest.cpp