Skip to content

Commit 952512d

Browse files
committed
Add a doxygen comment to UnaryConversion
1 parent 902f155 commit 952512d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/include/lldb/ValueObject/DILEval.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class Interpreter : Visitor {
5959
llvm::Expected<lldb::ValueObjectSP>
6060
Visit(const FloatLiteralNode *node) override;
6161

62+
/// Perform usual unary conversions on a value. At the moment this
63+
/// includes array-to-pointer and integral promotion for eligible types.
6264
llvm::Expected<lldb::ValueObjectSP>
6365
UnaryConversion(lldb::ValueObjectSP valobj);
6466
llvm::Expected<CompilerType>

lldb/source/ValueObject/DILEval.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ ArrayToPointerConversion(ValueObject &valobj, ExecutionContextScope &ctx) {
5555

5656
llvm::Expected<lldb::ValueObjectSP>
5757
Interpreter::UnaryConversion(lldb::ValueObjectSP valobj) {
58-
// Perform usual conversions for unary operators. At the moment this includes
59-
// array-to-pointer and the integral promotion for eligible types.
6058
llvm::Expected<lldb::TypeSystemSP> type_system =
6159
GetTypeSystemFromCU(m_exe_ctx_scope);
6260
if (!type_system)

0 commit comments

Comments
 (0)