From 21473f7bb613dd8e0fae47a5fb065e3d9a0da543 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sun, 8 Feb 2015 00:29:29 +0000 Subject: 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. llvm-svn: 228516 --- llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp') diff --git a/llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp b/llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp new file mode 100644 index 00000000000..4c296182e7d --- /dev/null +++ b/llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp @@ -0,0 +1,20 @@ +//===- PDBSymbolUnknown.cpp - -----------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include + +#include "llvm/DebugInfo/PDB/PDBSymbol.h" +#include "llvm/DebugInfo/PDB/PDBSymbolUnknown.h" + +using namespace llvm; + +PDBSymbolUnknown::PDBSymbolUnknown(std::unique_ptr Symbol) + : PDBSymbol(std::move(Symbol)) {} + +void PDBSymbolUnknown::dump(llvm::raw_ostream &OS) const {} -- cgit v1.2.3