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

Generated by: LCOV version 1.13