[all-commits] [llvm/llvm-project] d4b59a: [libc++] Remove "// -*- C++ -*-" comments from all...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Fri Oct 1 09:07:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4b59a05fc7507cf69993109443dc5af47ae4fa8
https://github.com/llvm/llvm-project/commit/d4b59a05fc7507cf69993109443dc5af47ae4fa8
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2021-10-01 (Fri, 01 Oct 2021)
Changed paths:
M libcxx/benchmarks/deque.bench.cpp
M libcxx/src/support/win32/locale_win32.cpp
M libcxx/src/support/win32/support.cpp
M libcxx/src/support/win32/thread_win32.cpp
M libcxx/test/libcxx/debug/debug_abort.pass.cpp
M libcxx/test/libcxx/debug/debug_helper_test.pass.cpp
M libcxx/test/libcxx/debug/debug_register.pass.cpp
M libcxx/test/libcxx/debug/extern-templates.sh.cpp
M libcxx/test/libcxx/diagnostics/enable_nodiscard.verify.cpp
M libcxx/test/libcxx/diagnostics/enable_nodiscard_disable_after_cxx17.verify.cpp
M libcxx/test/libcxx/diagnostics/enable_nodiscard_disable_nodiscard_ext.verify.cpp
M libcxx/test/libcxx/diagnostics/errno/version_cerrno.pass.cpp
M libcxx/test/libcxx/diagnostics/nodiscard.pass.cpp
M libcxx/test/libcxx/diagnostics/nodiscard_aftercxx17.pass.cpp
M libcxx/test/libcxx/diagnostics/nodiscard_aftercxx17.verify.cpp
M libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
M libcxx/test/libcxx/diagnostics/nodiscard_extensions.verify.cpp
M libcxx/test/libcxx/double_include.sh.cpp
M libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
M libcxx/test/libcxx/experimental/language.support/support.coroutines/version.pass.cpp
M libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
M libcxx/test/libcxx/include_as_c.sh.cpp
M libcxx/test/libcxx/libcpp_alignof.pass.cpp
M libcxx/test/libcxx/libcpp_freestanding.sh.cpp
M libcxx/test/libcxx/libcpp_version.pass.cpp
M libcxx/test/libcxx/min_max_macros.compile.pass.cpp
M libcxx/test/libcxx/no_assert_include.compile.pass.cpp
M libcxx/test/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp
M libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.fail.cpp
M libcxx/test/libcxx/utilities/variant/variant.variant/variant_size.pass.cpp
M libcxx/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp
M libcxx/test/std/containers/associative/map/map.access/empty.verify.cpp
M libcxx/test/std/containers/associative/multimap/empty.verify.cpp
M libcxx/test/std/containers/associative/multiset/empty.verify.cpp
M libcxx/test/std/containers/associative/set/empty.verify.cpp
M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.verify.cpp
M libcxx/test/std/containers/container.adaptors/queue/queue.defn/empty.verify.cpp
M libcxx/test/std/containers/container.adaptors/stack/stack.defn/empty.verify.cpp
M libcxx/test/std/containers/sequences/array/empty.verify.cpp
M libcxx/test/std/containers/sequences/deque/deque.capacity/empty.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/empty.verify.cpp
M libcxx/test/std/containers/sequences/list/list.capacity/empty.verify.cpp
M libcxx/test/std/containers/sequences/vector.bool/empty.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.capacity/empty.verify.cpp
M libcxx/test/std/containers/unord/unord.map/empty.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/empty.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/empty.verify.cpp
M libcxx/test/std/containers/unord/unord.set/empty.verify.cpp
M libcxx/test/std/containers/views/span.cons/array.fail.cpp
M libcxx/test/std/containers/views/span.cons/array.pass.cpp
M libcxx/test/std/containers/views/span.cons/assign.pass.cpp
M libcxx/test/std/containers/views/span.cons/container.fail.cpp
M libcxx/test/std/containers/views/span.cons/container.pass.cpp
M libcxx/test/std/containers/views/span.cons/copy.pass.cpp
M libcxx/test/std/containers/views/span.cons/deduct.pass.cpp
M libcxx/test/std/containers/views/span.cons/default.fail.cpp
M libcxx/test/std/containers/views/span.cons/default.pass.cpp
M libcxx/test/std/containers/views/span.cons/ptr_len.fail.cpp
M libcxx/test/std/containers/views/span.cons/ptr_len.pass.cpp
M libcxx/test/std/containers/views/span.cons/ptr_ptr.fail.cpp
M libcxx/test/std/containers/views/span.cons/ptr_ptr.pass.cpp
M libcxx/test/std/containers/views/span.cons/span.fail.cpp
M libcxx/test/std/containers/views/span.cons/span.pass.cpp
M libcxx/test/std/containers/views/span.cons/stdarray.pass.cpp
M libcxx/test/std/containers/views/span.elem/back.pass.cpp
M libcxx/test/std/containers/views/span.elem/data.pass.cpp
M libcxx/test/std/containers/views/span.elem/front.pass.cpp
M libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
M libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
M libcxx/test/std/containers/views/span.objectrep/as_writable_bytes.fail.cpp
M libcxx/test/std/containers/views/span.objectrep/as_writable_bytes.pass.cpp
M libcxx/test/std/containers/views/span.obs/empty.pass.cpp
M libcxx/test/std/containers/views/span.obs/size.pass.cpp
M libcxx/test/std/containers/views/span.obs/size_bytes.pass.cpp
M libcxx/test/std/containers/views/span.sub/first.fail.cpp
M libcxx/test/std/containers/views/span.sub/first.pass.cpp
M libcxx/test/std/containers/views/span.sub/last.fail.cpp
M libcxx/test/std/containers/views/span.sub/last.pass.cpp
M libcxx/test/std/containers/views/span.sub/subspan.fail.cpp
M libcxx/test/std/containers/views/span.sub/subspan.pass.cpp
M libcxx/test/std/containers/views/types.pass.cpp
M libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp
M libcxx/test/std/diagnostics/errno/cerrno.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/address.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.fail.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/from_address.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/hash.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/promise.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/destroy.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/resume.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/void_handle.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/promise_type.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/bool_await_suspend.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/expected.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/fullexpr-dtor.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/generator.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/go.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/multishot_func.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/oneshot_func.pass.cpp
M libcxx/test/std/experimental/language.support/support.coroutines/includes.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_deque_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_forward_list_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_list_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_map_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_regex_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_unordered_map_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_unordered_set_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.aliases/header_vector_synop.pass.cpp
M libcxx/test/std/experimental/memory/memory.resource.synop/nothing_to_do.pass.cpp
M libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.verify.cpp
M libcxx/test/std/iterators/iterator.container/empty.array.verify.cpp
M libcxx/test/std/iterators/iterator.container/empty.container.verify.cpp
M libcxx/test/std/iterators/iterator.container/empty.initializer_list.verify.cpp
M libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array_ptr.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_ptr.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_align_nothrow.verify.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_size_nothrow.verify.cpp
M libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.nodiscard.verify.cpp
M libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp
M libcxx/test/std/numerics/complex.number/complex.literals/literals1.compile.fail.cpp
M libcxx/test/std/re/re.badexp/regex_error.pass.cpp
M libcxx/test/std/re/re.const/re.err/error_type.pass.cpp
M libcxx/test/std/re/re.const/re.matchflag/match_flag_type.pass.cpp
M libcxx/test/std/re/re.const/re.matchflag/match_multiline.pass.cpp
M libcxx/test/std/re/re.const/re.matchflag/match_not_bol.pass.cpp
M libcxx/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp
M libcxx/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.collating.element/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.finite.state.machine/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.format.specifier/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.matched/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.primary.equivalence.class/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.regular.expression/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.def/defns.regex.subexpression/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.general/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.req/nothing_to_do.pass.cpp
M libcxx/test/std/re/re.results/re.results.size/empty.verify.cpp
M libcxx/test/std/re/re.traits/default.pass.cpp
M libcxx/test/std/re/re.traits/length.pass.cpp
M libcxx/test/std/re/re.traits/transform.pass.cpp
M libcxx/test/std/re/re.traits/transform_primary.pass.cpp
M libcxx/test/std/re/re.traits/translate.pass.cpp
M libcxx/test/std/re/re.traits/translate_nocase.pass.cpp
M libcxx/test/std/re/re.traits/types.pass.cpp
M libcxx/test/std/strings/basic.string.literals/literal.pass.cpp
M libcxx/test/std/strings/basic.string.literals/literal.verify.cpp
M libcxx/test/std/strings/basic.string/string.capacity/empty.verify.cpp
M libcxx/test/std/strings/string.view/string.view.capacity/empty.verify.cpp
M libcxx/test/std/strings/string.view/string_view.literals/literal.pass.cpp
M libcxx/test/std/strings/string.view/string_view.literals/literal.verify.cpp
M libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp
M libcxx/test/std/thread/futures/futures.state/nothing_to_do.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
M libcxx/test/std/utilities/time/time.duration/time.duration.literals/literals1.compile.fail.cpp
M libcxx/test/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp
M libcxx/test/std/utilities/time/time.duration/time.duration.literals/literals2.compile.fail.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/recursion_depth.pass.cpp
M libcxx/test/std/utilities/variant/variant.bad_variant_access/bad_variant_access.pass.cpp
M libcxx/test/std/utilities/variant/variant.general/nothing_to_do.pass.cpp
M libcxx/test/std/utilities/variant/variant.get/get_if_index.pass.cpp
M libcxx/test/std/utilities/variant/variant.get/get_if_type.pass.cpp
M libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp
M libcxx/test/std/utilities/variant/variant.get/get_type.pass.cpp
M libcxx/test/std/utilities/variant/variant.get/holds_alternative.pass.cpp
M libcxx/test/std/utilities/variant/variant.hash/hash.pass.cpp
M libcxx/test/std/utilities/variant/variant.helpers/variant_alternative.fail.cpp
M libcxx/test/std/utilities/variant/variant.helpers/variant_alternative.pass.cpp
M libcxx/test/std/utilities/variant/variant.helpers/variant_size.pass.cpp
M libcxx/test/std/utilities/variant/variant.monostate.relops/relops.pass.cpp
M libcxx/test/std/utilities/variant/variant.monostate/monostate.pass.cpp
M libcxx/test/std/utilities/variant/variant.relops/relops.pass.cpp
M libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
M libcxx/test/std/utilities/variant/variant.synopsis/variant_npos.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.fail.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/default.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_index_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_index_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_type_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_type_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.dtor/dtor.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant_array.fail.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant_empty.fail.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant_reference.fail.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant_void.fail.cpp
M libcxx/test/std/utilities/variant/variant.visit/robust_against_adl.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit_return_type.pass.cpp
Log Message:
-----------
[libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI.
Even if these comments have a benefit in .h files (for editors that
care about language but can't be configured to treat .h as C++ code),
they certainly have no benefit for files with the .cpp extension.
Discussed in D110794.
More information about the All-commits
mailing list