diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 | 
| commit | f73363f1dd94996356cefbf24388f561891acf0b (patch) | |
| tree | e3c31248bdb36eaec5fd833490d4278162dba2a0 /source/Plugins/Language/CPlusPlus/LibCxx.cpp | |
| parent | 160ee69dd7ae18978f4068116777639ea98dc951 (diff) | |
Notes
Diffstat (limited to 'source/Plugins/Language/CPlusPlus/LibCxx.cpp')
| -rw-r--r-- | source/Plugins/Language/CPlusPlus/LibCxx.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/source/Plugins/Language/CPlusPlus/LibCxx.cpp b/source/Plugins/Language/CPlusPlus/LibCxx.cpp index f6d1f18cb596..95e02a473cd7 100644 --- a/source/Plugins/Language/CPlusPlus/LibCxx.cpp +++ b/source/Plugins/Language/CPlusPlus/LibCxx.cpp @@ -123,12 +123,11 @@ bool lldb_private::formatters::LibCxxMapIteratorSyntheticFrontEnd::Update() {    static ConstString g___i_("__i_"); -  // this must be a ValueObject* because it is a child of the ValueObject we are -  // producing children for -  // it if were a ValueObjectSP, we would end up with a loop (iterator -> -  // synthetic -> child -> parent == iterator) -  // and that would in turn leak memory by never allowing the ValueObjects to -  // die and free their memory +  // this must be a ValueObject* because it is a child of the ValueObject we +  // are producing children for it if were a ValueObjectSP, we would end up +  // with a loop (iterator -> synthetic -> child -> parent == iterator) and +  // that would in turn leak memory by never allowing the ValueObjects to die +  // and free their memory    m_pair_ptr = valobj_sp                     ->GetValueForExpressionPath(                         ".__i_.__ptr_->__value_", nullptr, nullptr, @@ -386,7 +385,8 @@ enum LibcxxStringLayoutMode {  };  // this function abstracts away the layout and mode details of a libc++ string -// and returns the address of the data and the size ready for callers to consume +// and returns the address of the data and the size ready for callers to +// consume  static bool ExtractLibcxxStringInfo(ValueObject &valobj,                                      ValueObjectSP &location_sp,                                      uint64_t &size) { | 
