File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -450,9 +450,13 @@ class CompilerType {
450
450
// / Lookup a child member given a name. This function will match member names
451
451
// / only and will descend into "clang_type" children in search for the first
452
452
// / member in this class, or any base class that matches "name".
453
+ // /
454
+ // / \param child_indexes returns an index path for the result.
455
+ // / \returns 0 if unsuccessful, otherwise the length of the index path.
456
+ // /
453
457
// / TODO: Return all matches for a given name by returning a
454
- // / vector<vector<uint32_t>>
455
- // / so we catch all names that match a given child name, not just the first.
458
+ // / vector<vector<uint32_t>> so we catch all names that match a
459
+ // / given child name, not just the first.
456
460
size_t
457
461
GetIndexOfChildMemberWithName (llvm::StringRef name,
458
462
bool omit_empty_base_classes,
Original file line number Diff line number Diff line change @@ -373,18 +373,10 @@ class TypeSystem : public PluginInterface,
373
373
bool &child_is_base_class, bool &child_is_deref_of_parent,
374
374
ValueObject *valobj, uint64_t &language_flags) = 0;
375
375
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.
378
376
virtual uint32_t GetIndexOfChildWithName (lldb::opaque_compiler_type_t type,
379
377
llvm::StringRef name,
380
378
bool omit_empty_base_classes) = 0;
381
379
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.
388
380
virtual size_t GetIndexOfChildMemberWithName (
389
381
lldb::opaque_compiler_type_t type, llvm::StringRef name,
390
382
bool omit_empty_base_classes, std::vector<uint32_t > &child_indexes) = 0;
You can’t perform that action at this time.
0 commit comments