[Lldb-commits] [PATCH] D68737: SBFile::GetFile: convert SBFile back into python native files.
Lawrence D'Anna via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 10 15:03:40 PDT 2019
lawrence_danna marked an inline comment as done.
lawrence_danna added inline comments.
================
Comment at: lldb/include/lldb/Host/File.h:56
static bool DescriptorIsValid(int descriptor) { return descriptor >= 0; };
+ static const char *GetStreamOpenModeFromOptions(uint32_t options);
----------------
labath wrote:
> change the argument type to OpenOptions. For some reason, lldb has historically used integer types for passing enumerations around, but we're now slowly changing that..
Are you sure that's the right thing to do? `eOpenOptionRead | eOpenOptionWrite` has type `unsigned int`, not `OpenOptions`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68737/new/
https://reviews.llvm.org/D68737
More information about the lldb-commits
mailing list