================
@@ -771,6 +771,10 @@ TypeSystemClang
*TypeSystemClang::GetASTContext(clang::ASTContext *ast) {
return clang_ast;
}
+bool TypeSystemClang::ShouldIgnoreArtificialField(llvm::StringRef Name) {
+ return Name.starts_with("_vptr$");
----------------
hokein wrote:
> TypeSystemClang should be agnostic to the debug-info format. The various
> debug-info->AST parsers (e.g.,
> DWARFASTParserClang/PDBASTParser/npdb::PdbAstBuilder, the latter two being
> the MSVC debug-info parsers) use TypeSystemClang after they've parsed
> debug-info to construct clang AST nodes.
Thanks for the clarification.
That makes sense. I don't have any plan to use this API. It is better to move
DWARFASTParserClang.cpp (better layering).
https://github.com/llvm/llvm-project/pull/70779
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits