From: Enrico Granata Date: Tue, 22 Jan 2013 01:43:59 +0000 (+0000) Subject: Replacing a "no clue why" comment with the explanation it was demanding X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13615ede54427bcb1ba949f7acd0751ad33979bc;p=platform%2Fupstream%2Fllvm.git Replacing a "no clue why" comment with the explanation it was demanding llvm-svn: 173111 --- diff --git a/lldb/include/lldb/Core/FormatNavigator.h b/lldb/include/lldb/Core/FormatNavigator.h index 76c80bb..789f2d1 100644 --- a/lldb/include/lldb/Core/FormatNavigator.h +++ b/lldb/include/lldb/Core/FormatNavigator.h @@ -525,8 +525,10 @@ protected: return false; } + // we are separately passing in valobj and type because the valobj is fixed (and is used for ObjC discovery and bitfield size) + // but the type can change (e.g. stripping pointers, ...) bool Get (ValueObject& valobj, - clang::QualType type, // TODO: find out why "type" is passed in the type when it belongs to valobj? Can it ever differ? + clang::QualType type, MapValueType& entry, lldb::DynamicValueType use_dynamic, uint32_t& reason)