Some of those .compile.fail.cpp tests had become incorrect and they
were not testing anything. In general, .compile.fail.cpp tests are
bad because they make it way too easy to write garbage tests. Indeed,
the test could fail to compile due to any reason whatsoever (even a
typo) and it would appear to work correctly.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG902e28def669: [libc++] Refactor .compile.fail.cpp tests for std::function
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could you mention in the commit message that you are refactoring the .fail.cpp tests specifically?