1 //===- TypeRecordHelpers.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPERECORDHELPERS_H
11 #define LLVM_DEBUGINFO_CODEVIEW_TYPERECORDHELPERS_H
13 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
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
20 bool isUdtForwardRef(CVType CVT);
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);