1
- // ===-- ValueObjectPrinter.h ---------------------------------------*- C++
2
- // -*-===//
1
+ // ===-- ValueObjectPrinter.h ------------------------------------*- C++ -*-===//
3
2
//
4
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
4
// See https://llvm.org/LICENSE.txt for license information.
@@ -25,7 +24,7 @@ class ValueObjectPrinter {
25
24
// / does not retain the ValueObject it is printing, that is the job of
26
25
// / its caller. It also doesn't attempt to track changes in the
27
26
// / ValueObject, e.g. changing synthetic child providers or changing
28
- // / dynamic vrs. static vrs. synthetic settings.
27
+ // / dynamic versus static versus synthetic settings.
29
28
public:
30
29
ValueObjectPrinter (ValueObject &valobj, Stream *s);
31
30
@@ -42,16 +41,16 @@ class ValueObjectPrinter {
42
41
43
42
InstancePointersSetSP m_printed_instance_pointers;
44
43
45
- // only this class (and subclasses, if any) should ever be concerned with the
46
- // depth mechanism
44
+ // / Only this class (and subclasses, if any) should ever be
45
+ // / concerned with the depth mechanism.
47
46
ValueObjectPrinter (ValueObject &valobj, Stream *s,
48
47
const DumpValueObjectOptions &options,
49
48
const DumpValueObjectOptions::PointerDepth &ptr_depth,
50
49
uint32_t curr_depth,
51
50
InstancePointersSetSP printed_instance_pointers);
52
51
53
- // we should actually be using delegating constructors here but some versions
54
- // of GCC still have trouble with those
52
+ // / Ee should actually be using delegating constructors here but
53
+ // / some versions of GCC still have trouble with those.
55
54
void Init (ValueObject &valobj, Stream *s,
56
55
const DumpValueObjectOptions &options,
57
56
const DumpValueObjectOptions::PointerDepth &ptr_depth,
@@ -67,7 +66,7 @@ class ValueObjectPrinter {
67
66
// / use dynamic and use synthetic settings of the ValueObject being printed,
68
67
// / so changes made to these settings won't affect already made
69
68
// / ValueObjectPrinters. SetupMostSpecializedValue();
70
-
69
+ // /
71
70
// / Access the cached "most specialized value" - that is the one to use for
72
71
// / printing the value object's value. However, be sure to use
73
72
// / GetValueForChildGeneration when you are generating the children of this
@@ -143,9 +142,9 @@ class ValueObjectPrinter {
143
142
bool ShouldShowName () const ;
144
143
145
144
ValueObject &m_orig_valobj;
146
- ValueObject *m_cached_valobj; // / Cache the current "most specialized" value.
147
- // / Don't use this directly, use
148
- // / GetMostSpecializedValue.
145
+ // / Cache the current "most specialized" value. Don't use this
146
+ // / directly, use GetMostSpecializedValue.
147
+ ValueObject *m_cached_valobj;
149
148
Stream *m_stream;
150
149
DumpValueObjectOptions m_options;
151
150
Flags m_type_flags;
0 commit comments