LLDB mainline
ValueType.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_UTILITY_VALUETYPE_H
10#define LLDB_UTILITY_VALUETYPE_H
11
13
14namespace lldb_private {
15/// Get the base value type - for when we don't care if the value is synthetic
16/// or not, or when we've already handled that case.
20
21/// Given a base value type, return a version that carries the synthetic bit.
25
26/// Return true if vt represents a synthetic value, false if not.
29}
30} // namespace lldb_private
31
32#endif // LLDB_UTILITY_VALUETYPE_H
A class that represents a running process on the host machine.
constexpr bool IsSyntheticValueType(lldb::ValueType vt)
Return true if vt represents a synthetic value, false if not.
Definition ValueType.h:27
constexpr lldb::ValueType GetSyntheticValueType(lldb::ValueType base)
Given a base value type, return a version that carries the synthetic bit.
Definition ValueType.h:22
constexpr lldb::ValueType GetBaseValueType(lldb::ValueType vt)
Get the base value type - for when we don't care if the value is synthetic or not,...
Definition ValueType.h:17
static constexpr unsigned ValueTypeSyntheticMask
A mask that we can use to check if the value type is synthetic or not.