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 6 100.0 %
Date: 2018-06-17 00:07:59 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 "IPDBLineNumber.h"
      14             : #include "PDBSymbol.h"
      15             : #include "PDBSymbolTypeBuiltin.h"
      16             : #include "PDBTypes.h"
      17             : 
      18             : namespace llvm {
      19             : 
      20             : class raw_ostream;
      21             : namespace pdb {
      22             : 
      23          10 : class PDBSymbolTypeEnum : public PDBSymbol {
      24             : public:
      25             :   PDBSymbolTypeEnum(const IPDBSession &PDBSession,
      26             :                     std::unique_ptr<IPDBRawSymbol> EnumTypeSymbol);
      27             : 
      28          41 :   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Enum)
      29             : 
      30             :   void dump(PDBSymDumper &Dumper) const override;
      31             : 
      32             :   FORWARD_SYMBOL_METHOD(getBuiltinType)
      33          18 :   FORWARD_SYMBOL_ID_METHOD(getClassParent)
      34             :   FORWARD_SYMBOL_METHOD(hasConstructor)
      35             :   FORWARD_SYMBOL_METHOD(isConstType)
      36             :   FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
      37             :   FORWARD_SYMBOL_METHOD(hasCastOperator)
      38             :   FORWARD_SYMBOL_METHOD(hasNestedTypes)
      39           9 :   FORWARD_SYMBOL_METHOD(getLength)
      40             :   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
      41          18 :   FORWARD_SYMBOL_METHOD(getName)
      42             :   FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
      43             :   FORWARD_SYMBOL_METHOD(isNested)
      44             :   FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
      45             :   FORWARD_SYMBOL_METHOD(isPacked)
      46             :   FORWARD_SYMBOL_METHOD(isScoped)
      47          18 :   FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(PDBSymbolTypeBuiltin, getType,
      48             :                                               getUnderlyingType)
      49             :   FORWARD_SYMBOL_METHOD(isUnalignedType)
      50             :   FORWARD_SYMBOL_METHOD(isVolatileType)
      51             : };
      52             : 
      53             : } // namespace llvm
      54             : }
      55             : 
      56             : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H

Generated by: LCOV version 1.13