Skip to content

Commit 6c17f1c

Browse files
committed
Fix comments in ValueObjectPrinter.h (NFC)
1 parent ca1a963 commit 6c17f1c

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

lldb/include/lldb/DataFormatters/ValueObjectPrinter.h

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- ValueObjectPrinter.h ---------------------------------------*- C++
2-
//-*-===//
1+
//===-- ValueObjectPrinter.h ------------------------------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.
@@ -25,7 +24,7 @@ class ValueObjectPrinter {
2524
/// does not retain the ValueObject it is printing, that is the job of
2625
/// its caller. It also doesn't attempt to track changes in the
2726
/// ValueObject, e.g. changing synthetic child providers or changing
28-
/// dynamic vrs. static vrs. synthetic settings.
27+
/// dynamic versus static versus synthetic settings.
2928
public:
3029
ValueObjectPrinter(ValueObject &valobj, Stream *s);
3130

@@ -42,16 +41,16 @@ class ValueObjectPrinter {
4241

4342
InstancePointersSetSP m_printed_instance_pointers;
4443

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.
4746
ValueObjectPrinter(ValueObject &valobj, Stream *s,
4847
const DumpValueObjectOptions &options,
4948
const DumpValueObjectOptions::PointerDepth &ptr_depth,
5049
uint32_t curr_depth,
5150
InstancePointersSetSP printed_instance_pointers);
5251

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.
5554
void Init(ValueObject &valobj, Stream *s,
5655
const DumpValueObjectOptions &options,
5756
const DumpValueObjectOptions::PointerDepth &ptr_depth,
@@ -67,7 +66,7 @@ class ValueObjectPrinter {
6766
/// use dynamic and use synthetic settings of the ValueObject being printed,
6867
/// so changes made to these settings won't affect already made
6968
/// ValueObjectPrinters. SetupMostSpecializedValue();
70-
69+
///
7170
/// Access the cached "most specialized value" - that is the one to use for
7271
/// printing the value object's value. However, be sure to use
7372
/// GetValueForChildGeneration when you are generating the children of this
@@ -143,9 +142,9 @@ class ValueObjectPrinter {
143142
bool ShouldShowName() const;
144143

145144
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;
149148
Stream *m_stream;
150149
DumpValueObjectOptions m_options;
151150
Flags m_type_flags;

0 commit comments

Comments
 (0)