LLVM  8.0.1
TypeRecordHelpers.h
Go to the documentation of this file.
1 //===- TypeRecordHelpers.h --------------------------------------*- 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_CODEVIEW_TYPERECORDHELPERS_H
11 #define LLVM_DEBUGINFO_CODEVIEW_TYPERECORDHELPERS_H
12 
14 
15 namespace llvm {
16  namespace codeview {
17  /// Given an arbitrary codeview type, determine if it is an LF_STRUCTURE,
18  /// LF_CLASS, LF_INTERFACE, LF_UNION, or LF_ENUM with the forward ref class
19  /// option.
20  bool isUdtForwardRef(CVType CVT);
21 
22  /// Given a CVType which is assumed to be an LF_MODIFIER, return the
23  /// TypeIndex of the type that the LF_MODIFIER modifies.
24  TypeIndex getModifiedType(const CVType &CVT);
25  }
26 }
27 
28 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
bool isUdtForwardRef(CVType CVT)
Given an arbitrary codeview type, determine if it is an LF_STRUCTURE, LF_CLASS, LF_INTERFACE, LF_UNION, or LF_ENUM with the forward ref class option.
CVRecord< TypeLeafKind > CVType
Definition: TypeRecord.h:36
TypeIndex getModifiedType(const CVType &CVT)
Given a CVType which is assumed to be an LF_MODIFIER, return the TypeIndex of the type that the LF_MO...