[Lldb-commits] [PATCH] D115062: [LLDB][Clang] add AccessSpecDecl for methods and fields in RecordType
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 3 14:27:14 PST 2021
zequanwu marked an inline comment as done.
zequanwu added inline comments.
================
Comment at: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:1356
+ clang::AccessSpecifier previous_access = clang::AccessSpecifier::AS_none;
+ for (DeclContext::decl_iterator I = cxx_record_decl->decls_begin(),
+ E = cxx_record_decl->decls_end();
----------------
shafik wrote:
> This feels a bit expensive, we have to go through all the fields every time we add a field.
Use a map now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115062/new/
https://reviews.llvm.org/D115062
More information about the lldb-commits
mailing list