[clang] [Clang][Sema] Add a test for move ctor calling for a base class. NFC (PR #97164)

Pavel Samolysov via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 29 05:35:30 PDT 2024


samolisov wrote:

This is a pre-fix test (but, actually, I have no fix for now) to demonstrate the difference in compilation between some looking very similar pieces of the code. I sure the root cause (if this is an issue at all) lies in `SemaInit.cpp`, this is why I've added the developers who were working with this file recently as reviewers. Because this is my first lit test for clang, I'm not sure `AST` is the correct directory for such kind of tests but I didn't manage to find a better place: all the tests in the `SemaCXX` as well as in the `Parser` directories check some error messages or work with some IR, not AST dumps. If you think there is more appropriate directory for the test, please let me know.

https://github.com/llvm/llvm-project/pull/97164


More information about the cfe-commits mailing list