[Lldb-commits] [PATCH] D68130: [lldb] Don't emit artificial constructor declarations as global functions

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 27 14:22:39 PDT 2019


shafik added a comment.

So if I look at `ClangASTContext::AddMethodToCXXRecordType(...)` it has the following:

  if (is_artificial)
    return nullptr; // skip everything artificial

but why? if I look at the godbolt w/ an AST dump <https://godbolt.org/z/P2LjLM> it is not creating as a global function and it would seem that we would want this behavior as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68130/new/

https://reviews.llvm.org/D68130





More information about the lldb-commits mailing list