[libcxx-commits] [PATCH] D146236: [libc++] Remove unnecessary main() function in .compile.pass.cpp tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 16 09:52:23 PDT 2023


ldionne created this revision.
Herald added a subscriber: mikhail.ramalho.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146236

Files:
  libcxx/test/libcxx/diagnostics/nodiscard_extensions.compile.pass.cpp
  libcxx/test/libcxx/ranges/version.compile.pass.cpp
  libcxx/test/libcxx/thread/thread.barrier/version.compile.pass.cpp
  libcxx/test/libcxx/thread/thread.latch/version.compile.pass.cpp
  libcxx/test/libcxx/thread/thread.semaphore/version.compile.pass.cpp
  libcxx/test/libcxx/utilities/format/version.compile.pass.cpp
  libcxx/test/std/atomics/atomics.types.generic/standard_layout.compile.pass.cpp
  libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp
  libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp
  libcxx/test/std/concepts/concepts.object/copyable.compile.pass.cpp
  libcxx/test/std/concepts/concepts.object/movable.compile.pass.cpp
  libcxx/test/std/concepts/concepts.object/regular.compile.pass.cpp
  libcxx/test/std/concepts/concepts.object/semiregular.compile.pass.cpp
  libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp
  libcxx/test/std/utilities/format/format.arguments/format.args/types.compile.pass.cpp
  libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/types.compile.pass.cpp
  libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/common_reference.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146236.505850.patch
Type: text/x-patch
Size: 12637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230316/c0ed9e28/attachment.bin>


More information about the libcxx-commits mailing list