LCOV - code coverage report
Current view: top level - include/llvm/DebugInfo/PDB - PDBSymbolUnknown.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 4 4 100.0 %
Date: 2017-09-14 15:23:50 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- PDBSymbolUnknown.h - unknown symbol type -----------------*- 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             : #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
      11             : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
      12             : 
      13             : #include "PDBSymbol.h"
      14             : 
      15             : namespace llvm {
      16             : 
      17             : class raw_ostream;
      18             : namespace pdb {
      19             : 
      20           6 : class PDBSymbolUnknown : public PDBSymbol {
      21             : public:
      22             :   PDBSymbolUnknown(const IPDBSession &PDBSession,
      23             :                    std::unique_ptr<IPDBRawSymbol> UnknownSymbol);
      24             : 
      25             :   void dump(PDBSymDumper &Dumper) const override;
      26             : 
      27          32 :   static bool classof(const PDBSymbol *S) {
      28          63 :     return (S->getSymTag() == PDB_SymType::None ||
      29          63 :             S->getSymTag() >= PDB_SymType::Max);
      30             :   }
      31             : };
      32             : 
      33             : } // namespace llvm
      34             : }
      35             : 
      36             : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H

Generated by: LCOV version 1.13