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

          Line data    Source code
       1             : //===- PDBSymbolTypeEnum.h - enum type info ---------------------*- 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_PDBSYMBOLTYPEENUM_H
      11             : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
      12             : 
      13             : #include "PDBSymbol.h"
      14             : #include "PDBSymbolTypeBuiltin.h"
      15             : #include "PDBTypes.h"
      16             : 
      17             : namespace llvm {
      18             : 
      19             : class raw_ostream;
      20             : namespace pdb {
      21             : 
      22          10 : class PDBSymbolTypeEnum : public PDBSymbol {
      23             : public:
      24             :   PDBSymbolTypeEnum(const IPDBSession &PDBSession,
      25             :                     std::unique_ptr<IPDBRawSymbol> EnumTypeSymbol);
      26             : 
      27          41 :   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Enum)
      28             : 
      29             :   void dump(PDBSymDumper &Dumper) const override;
      30             : 
      31           0 :   FORWARD_SYMBOL_METHOD(getBuiltinType)
      32          18 :   FORWARD_SYMBOL_ID_METHOD(getClassParent)
      33             :   FORWARD_SYMBOL_METHOD(hasConstructor)
      34             :   FORWARD_SYMBOL_METHOD(isConstType)
      35             :   FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
      36             :   FORWARD_SYMBOL_METHOD(hasCastOperator)
      37             :   FORWARD_SYMBOL_METHOD(hasNestedTypes)
      38          18 :   FORWARD_SYMBOL_METHOD(getLength)
      39             :   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
      40          36 :   FORWARD_SYMBOL_METHOD(getName)
      41             :   FORWARD_SYMBOL_METHOD(isNested)
      42             :   FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
      43             :   FORWARD_SYMBOL_METHOD(isPacked)
      44             :   FORWARD_SYMBOL_METHOD(isScoped)
      45          18 :   FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(PDBSymbolTypeBuiltin, getType,
      46             :                                               getUnderlyingType)
      47             :   FORWARD_SYMBOL_METHOD(isUnalignedType)
      48             :   FORWARD_SYMBOL_METHOD(isVolatileType)
      49             : };
      50             : 
      51             : } // namespace llvm
      52             : }
      53             : 
      54             : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H

Generated by: LCOV version 1.13