[Lldb-commits] [PATCH] D113533: [LLDB] Remove access check of decl in TypeSystemClang.cpp
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 9 21:32:53 PST 2021
shafik added inline comments.
================
Comment at: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:95
- // that Clang calls its internal Decl::AccessDeclContextSanity check.
- decl->getAccess();
-#endif
----------------
No, we don't care about the return value but we care about the `assert` which means the AST node is not well formed. In this case IIRC we are verifying that a member has an access specifier that is not set to `AS_none`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113533/new/
https://reviews.llvm.org/D113533
More information about the lldb-commits
mailing list