LCOV - code coverage report
Current view: top level - lib/DebugInfo/PDB - PDBSymbolTypeEnum.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 5 5 100.0 %
Date: 2018-06-17 00:07:59 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- PDBSymbolTypeEnum.cpp - --------------------------------*- C++ -*-===//
       2             : //
       3             : //                     The LLVM Compiler Infrastructure
       4             : //
       5             : // This file is distributed under the University of Illinois Open Source
       6             : // License. See LICENSE.TXT for details.
       7             : //
       8             : //===----------------------------------------------------------------------===//
       9             : 
      10             : #include "llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h"
      11             : 
      12             : #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
      13             : #include "llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h"
      14             : 
      15             : #include <utility>
      16             : 
      17             : using namespace llvm;
      18             : using namespace llvm::pdb;
      19             : 
      20          10 : PDBSymbolTypeEnum::PDBSymbolTypeEnum(const IPDBSession &PDBSession,
      21          10 :                                      std::unique_ptr<IPDBRawSymbol> Symbol)
      22          30 :     : PDBSymbol(PDBSession, std::move(Symbol)) {
      23             :   assert(RawSymbol->getSymTag() == PDB_SymType::Enum);
      24          10 : }
      25             : 
      26           9 : void PDBSymbolTypeEnum::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }

Generated by: LCOV version 1.13