Skip to content

Commit 3e6a52c

Browse files
committed
add GetEnumCaseName docstring
1 parent 2ce9bbd commit 3e6a52c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/include/lldb/Target/SwiftLanguageRuntime.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ class SwiftLanguageRuntime : public LanguageRuntime {
256256
llvm::Optional<unsigned> GetNumChildren(CompilerType type,
257257
ValueObject *valobj);
258258

259+
/// Determine the enum case name for the \p data value of the enum \p type.
260+
/// This is performed using Swift reflection.
259261
llvm::Optional<std::string> GetEnumCaseName(CompilerType type,
260262
const DataExtractor &data,
261263
ExecutionContext *exe_ctx);

0 commit comments

Comments
 (0)