LLVM
8.0.1
include
llvm
DebugInfo
CodeView
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
13
#include "
llvm/DebugInfo/CodeView/TypeRecord.h
"
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
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::codeview::isUdtForwardRef
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.
Definition:
TypeRecordHelpers.cpp:28
llvm::codeview::CVType
CVRecord< TypeLeafKind > CVType
Definition:
TypeRecord.h:36
llvm::codeview::getModifiedType
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...
Definition:
TypeRecordHelpers.cpp:48
TypeRecord.h
Generated on Sun Dec 20 2020 13:53:17 for LLVM by
1.8.13