Star81
27
代码介绍
代码
Issues10
Pull Requests10
流水线
Actions
讨论
Wiki
项目成员44
分析
项目设置
Star81
27
  1. msdebug
  2. /
  3. libcxx
  4. /
  5. test
  6. /
  7. std
  8. /
  9. concepts
  10. /
  11. concepts.lang
  12. /
  13. concept.constructible
LLouis Dionne[libc++] Remove unnecessary main() function in .compile.pass.cpp and .verify.cpp tests
72f0edf3创建于 2023年3月18日历史提交
文件最后提交记录最后更新时间
constructible_from.compile.pass.cpp
[libc++] Remove unnecessary main() function in .compile.pass.cpp and .verify.cpp tests We pretty consistently don't define those cause they are not needed, and it removes the potential pitfall to think that these tests are being run. This doesn't touch .compile.fail.cpp tests since those should be replaced by .verify.cpp tests anyway, and there would be a lot to fix up. As a fly-by, I also fixed a bit of formatting, removed a few unused includes and made some very minor, clearly NFC refactorings such as in allocator.traits/allocator.traits.members/allocate.verify.cpp where the old test basically made no sense the way it was written. Differential Revision: https://reviews.llvm.org/D1462363 年前