[PATCH] D50732: [ASTImporter] Add test for CXXDefaultInitExpr

Raphael Isemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 15 15:11:44 PDT 2018


teemperor added a comment.

As a side note: It seems this test case actually reveals that we don't import the body of Foo's destructor?

  test/Import/cxx-default-init-expr/Inputs/S.cpp:1:8: inline function 'Foo::~Foo' is not defined
  struct Foo {
         ^
  test/Import/cxx-default-init-expr/Inputs/S.cpp:5:8: used here
  struct S {
         ^

This doesn't make the test itself fail, so I'll fix this in an upcoming patch.


Repository:
  rC Clang

https://reviews.llvm.org/D50732





More information about the cfe-commits mailing list