File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -450,6 +450,9 @@ class CompilerType {
450450 // / Lookup a child member given a name. This function will match member names
451451 // / only and will descend into "clang_type" children in search for the first
452452 // / member in this class, or any base class that matches "name".
453+ // / \param child_indexes returns an index path for the first result.
454+ // / \returns 0 if unsuccessful, otherwise the length of the index path.
455+ // /
453456 // / TODO: Return all matches for a given name by returning a
454457 // / vector<vector<uint32_t>>
455458 // / so we catch all names that match a given child name, not just the first.
Original file line number Diff line number Diff line change @@ -373,18 +373,10 @@ class TypeSystem : public PluginInterface,
373373 bool &child_is_base_class, bool &child_is_deref_of_parent,
374374 ValueObject *valobj, uint64_t &language_flags) = 0;
375375
376- // Lookup a child given a name. This function will match base class names and
377- // member member names in "clang_type" only, not descendants.
378376 virtual uint32_t GetIndexOfChildWithName (lldb::opaque_compiler_type_t type,
379377 llvm::StringRef name,
380378 bool omit_empty_base_classes) = 0;
381379
382- // Lookup a child member given a name. This function will match member names
383- // only and will descend into "clang_type" children in search for the first
384- // member in this class, or any base class that matches "name".
385- // TODO: Return all matches for a given name by returning a
386- // vector<vector<uint32_t>>
387- // so we catch all names that match a given child name, not just the first.
388380 virtual size_t GetIndexOfChildMemberWithName (
389381 lldb::opaque_compiler_type_t type, llvm::StringRef name,
390382 bool omit_empty_base_classes, std::vector<uint32_t > &child_indexes) = 0;
You can’t perform that action at this time.
0 commit comments