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

          Line data    Source code
       1             : //===- PDBSymbolTypeUDT.h - UDT 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_PDBSYMBOLTYPEUDT_H
      11             : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
      12             : 
      13             : #include "IPDBSession.h"
      14             : #include "PDBSymbol.h"
      15             : #include "PDBSymbolTypeBaseClass.h"
      16             : #include "PDBTypes.h"
      17             : 
      18             : namespace llvm {
      19             : 
      20             : class raw_ostream;
      21             : 
      22             : namespace pdb {
      23             : 
      24           1 : class PDBSymbolTypeUDT : public PDBSymbol {
      25             : public:
      26             :   PDBSymbolTypeUDT(const IPDBSession &PDBSession,
      27             :                    std::unique_ptr<IPDBRawSymbol> UDTSymbol);
      28             : 
      29             :   std::unique_ptr<PDBSymbolTypeUDT> clone() const {
      30             :     return getSession().getConcreteSymbolById<PDBSymbolTypeUDT>(
      31             :         getSymIndexId());
      32             :   }
      33             : 
      34          32 :   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::UDT)
      35             : 
      36             :   void dump(PDBSymDumper &Dumper) const override;
      37             : 
      38             :   FORWARD_SYMBOL_ID_METHOD(getClassParent)
      39           0 :   FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
      40             :   FORWARD_SYMBOL_METHOD(hasConstructor)
      41             :   FORWARD_SYMBOL_METHOD(isConstType)
      42             :   FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
      43             :   FORWARD_SYMBOL_METHOD(hasCastOperator)
      44             :   FORWARD_SYMBOL_METHOD(hasNestedTypes)
      45           0 :   FORWARD_SYMBOL_METHOD(getLength)
      46             :   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
      47           0 :   FORWARD_SYMBOL_METHOD(getName)
      48             :   FORWARD_SYMBOL_METHOD(isNested)
      49             :   FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
      50             :   FORWARD_SYMBOL_METHOD(isPacked)
      51             :   FORWARD_SYMBOL_METHOD(isScoped)
      52           0 :   FORWARD_SYMBOL_METHOD(getUdtKind)
      53             :   FORWARD_SYMBOL_METHOD(isUnalignedType)
      54             :   FORWARD_SYMBOL_ID_METHOD(getVirtualTableShape)
      55             :   FORWARD_SYMBOL_METHOD(isVolatileType)
      56             : };
      57             : }
      58             : } // namespace llvm
      59             : 
      60             : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H

Generated by: LCOV version 1.13