Closed balazske closed 5 years ago
Just a minor thing. Could we have a unittest for this? When we are going to upstream this fix they will require that anyway, so perhaps it is better to have right now.
Ongoing review: https://reviews.llvm.org/D57740
Previously only the fields were imported. Now every Decl is imported. This way the destructor decl is not missing after import. (Not sure if this makes improvement beneath SourceLocation equivalence. But now the imported lambda should be structural equivalent to the original that may be important.)