Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 596ec47

Browse files
committed
tweak docstrings
1 parent 495cc21 commit 596ec47

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwift.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ bool TypeSystemSwift::ShouldTreatScalarValueAsAddress(
102102
.AnySet(eTypeInstanceIsPointer | eTypeIsReference);
103103
}
104104

105-
/// Get the index of the child of "clang_type" whose name matches. This function
106-
/// doesn't descend into the children, but only looks one level deep and name
107-
/// matches can include base class names.
108105
uint32_t
109106
TypeSystemSwift::GetIndexOfChildWithName(opaque_compiler_type_t type,
110107
const char *name,

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwift.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class TypeSystemSwift : public TypeSystem {
244244
ShouldTreatScalarValueAsAddress(lldb::opaque_compiler_type_t type) override;
245245

246246
/// Lookup a child given a name. This function will match base class names
247-
/// and member names in "clang_type" only, not descendants.
247+
/// and member names in \p type only, not descendants.
248248
uint32_t GetIndexOfChildWithName(lldb::opaque_compiler_type_t type,
249249
const char *name,
250250
bool omit_empty_base_classes) override;

0 commit comments

Comments
 (0)