diff options
Diffstat (limited to 'src/mongo/util')
312 files changed, 47 insertions, 435 deletions
diff --git a/src/mongo/util/admin_access.h b/src/mongo/util/admin_access.h index b935219c08a..bf5ad3ff8f2 100644 --- a/src/mongo/util/admin_access.h +++ b/src/mongo/util/admin_access.h @@ -1,7 +1,3 @@ -/** @file admin_access.h - */ - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/allocator.cpp b/src/mongo/util/allocator.cpp index 4d0ac229370..358689a0655 100644 --- a/src/mongo/util/allocator.cpp +++ b/src/mongo/util/allocator.cpp @@ -1,6 +1,3 @@ -// allocator.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/allocator.h b/src/mongo/util/allocator.h index a74fc576c6e..14c5f3e459c 100644 --- a/src/mongo/util/allocator.h +++ b/src/mongo/util/allocator.h @@ -1,6 +1,3 @@ -// allocator.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/assert_util.cpp b/src/mongo/util/assert_util.cpp index 5fcd57250c0..648a1a67607 100644 --- a/src/mongo/util/assert_util.cpp +++ b/src/mongo/util/assert_util.cpp @@ -1,6 +1,3 @@ -// assert_util.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/assert_util.h b/src/mongo/util/assert_util.h index fd8b81ea272..aace7c13993 100644 --- a/src/mongo/util/assert_util.h +++ b/src/mongo/util/assert_util.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/assert_util_test.cpp b/src/mongo/util/assert_util_test.cpp index 6479b3213f2..7b159493333 100644 --- a/src/mongo/util/assert_util_test.cpp +++ b/src/mongo/util/assert_util_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background.cpp b/src/mongo/util/background.cpp index daef2d6ab19..78ea5b01663 100644 --- a/src/mongo/util/background.cpp +++ b/src/mongo/util/background.cpp @@ -1,6 +1,3 @@ -// @file background.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background.h b/src/mongo/util/background.h index 43e65e7f3cb..aab4099b483 100644 --- a/src/mongo/util/background.h +++ b/src/mongo/util/background.h @@ -1,6 +1,3 @@ -// @file background.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background_job_test.cpp b/src/mongo/util/background_job_test.cpp index 8a9904f0aea..efca4fdbfa1 100644 --- a/src/mongo/util/background_job_test.cpp +++ b/src/mongo/util/background_job_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background_thread_clock_source.cpp b/src/mongo/util/background_thread_clock_source.cpp index 89df9e7e970..c0d9bfc6e68 100644 --- a/src/mongo/util/background_thread_clock_source.cpp +++ b/src/mongo/util/background_thread_clock_source.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background_thread_clock_source.h b/src/mongo/util/background_thread_clock_source.h index 2f8eac34ecf..4278be130f7 100644 --- a/src/mongo/util/background_thread_clock_source.h +++ b/src/mongo/util/background_thread_clock_source.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/background_thread_clock_source_test.cpp b/src/mongo/util/background_thread_clock_source_test.cpp index cf1eb7dd1ac..ddc6d8b45a7 100644 --- a/src/mongo/util/background_thread_clock_source_test.cpp +++ b/src/mongo/util/background_thread_clock_source_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/base64.cpp b/src/mongo/util/base64.cpp index c5709b67a0a..625a433aac2 100644 --- a/src/mongo/util/base64.cpp +++ b/src/mongo/util/base64.cpp @@ -1,6 +1,3 @@ -// util/base64.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/base64.h b/src/mongo/util/base64.h index 167090b15b8..4813e2fea7c 100644 --- a/src/mongo/util/base64.h +++ b/src/mongo/util/base64.h @@ -1,6 +1,3 @@ -// util/base64.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/base64_test.cpp b/src/mongo/util/base64_test.cpp index 5810c2d31df..475b3904e3d 100644 --- a/src/mongo/util/base64_test.cpp +++ b/src/mongo/util/base64_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/bson_util.h b/src/mongo/util/bson_util.h index 2a481adfb07..f4f3440318d 100644 --- a/src/mongo/util/bson_util.h +++ b/src/mongo/util/bson_util.h @@ -1,6 +1,3 @@ -// bson_util.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/bufreader.h b/src/mongo/util/bufreader.h index c43f3253aeb..ac070e0c70b 100644 --- a/src/mongo/util/bufreader.h +++ b/src/mongo/util/bufreader.h @@ -1,6 +1,3 @@ -// @file bufreader.h parse a memory region into usable pieces - - /** * Copyright (C) 2018-present MongoDB, Inc. * @@ -32,6 +29,10 @@ #pragma once +/** + * Parse a memory region into usable pieces. + */ + #include <utility> #include "mongo/base/data_range.h" diff --git a/src/mongo/util/checksum.h b/src/mongo/util/checksum.h index dfffb398494..c1e8aa73628 100644 --- a/src/mongo/util/checksum.h +++ b/src/mongo/util/checksum.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source.cpp b/src/mongo/util/clock_source.cpp index 5aaa71efc9b..8be344ba282 100644 --- a/src/mongo/util/clock_source.cpp +++ b/src/mongo/util/clock_source.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source.h b/src/mongo/util/clock_source.h index 4043c166dbf..0ce72e09be7 100644 --- a/src/mongo/util/clock_source.h +++ b/src/mongo/util/clock_source.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source_bm.cpp b/src/mongo/util/clock_source_bm.cpp index 60eb946ad92..6343791b067 100644 --- a/src/mongo/util/clock_source_bm.cpp +++ b/src/mongo/util/clock_source_bm.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source_mock.cpp b/src/mongo/util/clock_source_mock.cpp index 3a84e43932c..d05eb765722 100644 --- a/src/mongo/util/clock_source_mock.cpp +++ b/src/mongo/util/clock_source_mock.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source_mock.h b/src/mongo/util/clock_source_mock.h index ac220f912cd..24c6851a240 100644 --- a/src/mongo/util/clock_source_mock.h +++ b/src/mongo/util/clock_source_mock.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/clock_source_mock_test.cpp b/src/mongo/util/clock_source_mock_test.cpp index 2e8e549a270..3861dbae4c5 100644 --- a/src/mongo/util/clock_source_mock_test.cpp +++ b/src/mongo/util/clock_source_mock_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/cmdline_utils/censor_cmdline.cpp b/src/mongo/util/cmdline_utils/censor_cmdline.cpp index 8eb6abc0d8b..63220bebcdf 100644 --- a/src/mongo/util/cmdline_utils/censor_cmdline.cpp +++ b/src/mongo/util/cmdline_utils/censor_cmdline.cpp @@ -1,6 +1,3 @@ -// cmdline.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/cmdline_utils/censor_cmdline.h b/src/mongo/util/cmdline_utils/censor_cmdline.h index 191359227c1..df9ef9d1729 100644 --- a/src/mongo/util/cmdline_utils/censor_cmdline.h +++ b/src/mongo/util/cmdline_utils/censor_cmdline.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/cmdline_utils/censor_cmdline_test.cpp b/src/mongo/util/cmdline_utils/censor_cmdline_test.cpp index ba5bba3ad4a..76d3e5317fe 100644 --- a/src/mongo/util/cmdline_utils/censor_cmdline_test.cpp +++ b/src/mongo/util/cmdline_utils/censor_cmdline_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/idle_thread_block.cpp b/src/mongo/util/concurrency/idle_thread_block.cpp index 61a0a1a8702..2886a24edd7 100644 --- a/src/mongo/util/concurrency/idle_thread_block.cpp +++ b/src/mongo/util/concurrency/idle_thread_block.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/idle_thread_block.h b/src/mongo/util/concurrency/idle_thread_block.h index 348aa1cacdc..a395012d30a 100644 --- a/src/mongo/util/concurrency/idle_thread_block.h +++ b/src/mongo/util/concurrency/idle_thread_block.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/mutex.h b/src/mongo/util/concurrency/mutex.h index 40a55ba352f..4e47c4e6df6 100644 --- a/src/mongo/util/concurrency/mutex.h +++ b/src/mongo/util/concurrency/mutex.h @@ -1,6 +1,3 @@ -// @file mutex.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/notification.h b/src/mongo/util/concurrency/notification.h index 9ba79f15d37..44bc7efc9ac 100644 --- a/src/mongo/util/concurrency/notification.h +++ b/src/mongo/util/concurrency/notification.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/spin_lock.cpp b/src/mongo/util/concurrency/spin_lock.cpp index 97fc8313205..d797d3cb762 100644 --- a/src/mongo/util/concurrency/spin_lock.cpp +++ b/src/mongo/util/concurrency/spin_lock.cpp @@ -1,6 +1,3 @@ -// spin_lock.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/spin_lock.h b/src/mongo/util/concurrency/spin_lock.h index 7c520f4313f..38854fef457 100644 --- a/src/mongo/util/concurrency/spin_lock.h +++ b/src/mongo/util/concurrency/spin_lock.h @@ -1,6 +1,3 @@ -// spin_lock.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/spin_lock_test.cpp b/src/mongo/util/concurrency/spin_lock_test.cpp index 92aa34d080f..70c5288f86e 100644 --- a/src/mongo/util/concurrency/spin_lock_test.cpp +++ b/src/mongo/util/concurrency/spin_lock_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_name.cpp b/src/mongo/util/concurrency/thread_name.cpp index c6d6f68617d..26cfdc04076 100644 --- a/src/mongo/util/concurrency/thread_name.cpp +++ b/src/mongo/util/concurrency/thread_name.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_name.h b/src/mongo/util/concurrency/thread_name.h index 4e7e0f35aa9..f608cfa624c 100644 --- a/src/mongo/util/concurrency/thread_name.h +++ b/src/mongo/util/concurrency/thread_name.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool.cpp b/src/mongo/util/concurrency/thread_pool.cpp index 158396e6a93..755ad56bffd 100644 --- a/src/mongo/util/concurrency/thread_pool.cpp +++ b/src/mongo/util/concurrency/thread_pool.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool.h b/src/mongo/util/concurrency/thread_pool.h index 1d7e35fbf7e..16e9ada80bd 100644 --- a/src/mongo/util/concurrency/thread_pool.h +++ b/src/mongo/util/concurrency/thread_pool.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_interface.h b/src/mongo/util/concurrency/thread_pool_interface.h index e558a8cf701..dde15644cb2 100644 --- a/src/mongo/util/concurrency/thread_pool_interface.h +++ b/src/mongo/util/concurrency/thread_pool_interface.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_test.cpp b/src/mongo/util/concurrency/thread_pool_test.cpp index 3897a63ca08..012b5ca3ca7 100644 --- a/src/mongo/util/concurrency/thread_pool_test.cpp +++ b/src/mongo/util/concurrency/thread_pool_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_test_common.cpp b/src/mongo/util/concurrency/thread_pool_test_common.cpp index 02a19f69c4d..70a0c41ef19 100644 --- a/src/mongo/util/concurrency/thread_pool_test_common.cpp +++ b/src/mongo/util/concurrency/thread_pool_test_common.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_test_common.h b/src/mongo/util/concurrency/thread_pool_test_common.h index d4ab6490673..f70ffc40a20 100644 --- a/src/mongo/util/concurrency/thread_pool_test_common.h +++ b/src/mongo/util/concurrency/thread_pool_test_common.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_test_fixture.cpp b/src/mongo/util/concurrency/thread_pool_test_fixture.cpp index 384ff1100bc..65378e0ee41 100644 --- a/src/mongo/util/concurrency/thread_pool_test_fixture.cpp +++ b/src/mongo/util/concurrency/thread_pool_test_fixture.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/thread_pool_test_fixture.h b/src/mongo/util/concurrency/thread_pool_test_fixture.h index e2e75bd8464..6e07226b8f1 100644 --- a/src/mongo/util/concurrency/thread_pool_test_fixture.h +++ b/src/mongo/util/concurrency/thread_pool_test_fixture.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/ticketholder.cpp b/src/mongo/util/concurrency/ticketholder.cpp index 571d9478f21..4b61cf96e37 100644 --- a/src/mongo/util/concurrency/ticketholder.cpp +++ b/src/mongo/util/concurrency/ticketholder.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/ticketholder.h b/src/mongo/util/concurrency/ticketholder.h index 4b1ffcb5ce0..53a70e8f914 100644 --- a/src/mongo/util/concurrency/ticketholder.h +++ b/src/mongo/util/concurrency/ticketholder.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/ticketholder_test.cpp b/src/mongo/util/concurrency/ticketholder_test.cpp index 357639ceb6e..f9f4c93236e 100644 --- a/src/mongo/util/concurrency/ticketholder_test.cpp +++ b/src/mongo/util/concurrency/ticketholder_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/value.h b/src/mongo/util/concurrency/value.h index f8f97e84459..b2759be742a 100644 --- a/src/mongo/util/concurrency/value.h +++ b/src/mongo/util/concurrency/value.h @@ -1,8 +1,3 @@ -/* @file value.h - concurrency helpers DiagStr -*/ - - /** * Copyright (C) 2018-present MongoDB, Inc. * @@ -34,6 +29,10 @@ #pragma once +/** + * DiagStr concurrency helper + */ + #include "spin_lock.h" namespace mongo { diff --git a/src/mongo/util/concurrency/with_lock.h b/src/mongo/util/concurrency/with_lock.h index 8f1b55f73c4..d5c55a16cb3 100644 --- a/src/mongo/util/concurrency/with_lock.h +++ b/src/mongo/util/concurrency/with_lock.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/concurrency/with_lock_test.cpp b/src/mongo/util/concurrency/with_lock_test.cpp index c6bc6c70c2d..0bfe2b3829e 100644 --- a/src/mongo/util/concurrency/with_lock_test.cpp +++ b/src/mongo/util/concurrency/with_lock_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/debug_util.h b/src/mongo/util/debug_util.h index e2b487d84d4..c339093d459 100644 --- a/src/mongo/util/debug_util.h +++ b/src/mongo/util/debug_util.h @@ -1,6 +1,3 @@ -// debug_util.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/debugger.cpp b/src/mongo/util/debugger.cpp index 596259bd06a..16a319e87f3 100644 --- a/src/mongo/util/debugger.cpp +++ b/src/mongo/util/debugger.cpp @@ -1,6 +1,3 @@ -// debug_util.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/debugger.h b/src/mongo/util/debugger.h index 5b37fc618b3..ff03475c4b6 100644 --- a/src/mongo/util/debugger.h +++ b/src/mongo/util/debugger.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decimal_counter.h b/src/mongo/util/decimal_counter.h index dfb118f56b6..a85d23f3dd9 100644 --- a/src/mongo/util/decimal_counter.h +++ b/src/mongo/util/decimal_counter.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decimal_counter_bm.cpp b/src/mongo/util/decimal_counter_bm.cpp index 76310aae313..8507622d1cd 100644 --- a/src/mongo/util/decimal_counter_bm.cpp +++ b/src/mongo/util/decimal_counter_bm.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decimal_counter_test.cpp b/src/mongo/util/decimal_counter_test.cpp index f5cc7c23294..df7f90eb199 100644 --- a/src/mongo/util/decimal_counter_test.cpp +++ b/src/mongo/util/decimal_counter_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decorable.h b/src/mongo/util/decorable.h index 6bcde609c11..b8191ac6ebf 100644 --- a/src/mongo/util/decorable.h +++ b/src/mongo/util/decorable.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decorable_test.cpp b/src/mongo/util/decorable_test.cpp index 2fb9b742373..6257b840f4a 100644 --- a/src/mongo/util/decorable_test.cpp +++ b/src/mongo/util/decorable_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decoration_container.h b/src/mongo/util/decoration_container.h index 11fca1056b2..e144ebac5ae 100644 --- a/src/mongo/util/decoration_container.h +++ b/src/mongo/util/decoration_container.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/decoration_registry.h b/src/mongo/util/decoration_registry.h index 6f852b387e2..e06b96b22c6 100644 --- a/src/mongo/util/decoration_registry.h +++ b/src/mongo/util/decoration_registry.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/descriptive_stats-inl.h b/src/mongo/util/descriptive_stats-inl.h index fe51914025a..bd30229b337 100644 --- a/src/mongo/util/descriptive_stats-inl.h +++ b/src/mongo/util/descriptive_stats-inl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/destructor_guard.h b/src/mongo/util/destructor_guard.h index ad55372e7fa..6b69d3c856d 100644 --- a/src/mongo/util/destructor_guard.h +++ b/src/mongo/util/destructor_guard.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_name.h b/src/mongo/util/dns_name.h index b53b7919d88..772948b7d35 100644 --- a/src/mongo/util/dns_name.h +++ b/src/mongo/util/dns_name.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_name_test.cpp b/src/mongo/util/dns_name_test.cpp index 0d3ae254c3b..224d4d6c9cf 100644 --- a/src/mongo/util/dns_name_test.cpp +++ b/src/mongo/util/dns_name_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query.cpp b/src/mongo/util/dns_query.cpp index 83ea72c5819..4ccfcfb19df 100644 --- a/src/mongo/util/dns_query.cpp +++ b/src/mongo/util/dns_query.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query.h b/src/mongo/util/dns_query.h index 635af051db3..88991756def 100644 --- a/src/mongo/util/dns_query.h +++ b/src/mongo/util/dns_query.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query_android-impl.h b/src/mongo/util/dns_query_android-impl.h index a1e1c2f9f1d..3b2860424e6 100644 --- a/src/mongo/util/dns_query_android-impl.h +++ b/src/mongo/util/dns_query_android-impl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query_posix-impl.h b/src/mongo/util/dns_query_posix-impl.h index fa8cf53cc8d..a5e36290f0f 100644 --- a/src/mongo/util/dns_query_posix-impl.h +++ b/src/mongo/util/dns_query_posix-impl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query_test.cpp b/src/mongo/util/dns_query_test.cpp index bd8d05c053f..b7dac331a12 100644 --- a/src/mongo/util/dns_query_test.cpp +++ b/src/mongo/util/dns_query_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/dns_query_windows-impl.h b/src/mongo/util/dns_query_windows-impl.h index ba2940196d5..06c912ac304 100644 --- a/src/mongo/util/dns_query_windows-impl.h +++ b/src/mongo/util/dns_query_windows-impl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/duration.cpp b/src/mongo/util/duration.cpp index 7ef7f5ab40b..670e4a62ae7 100644 --- a/src/mongo/util/duration.cpp +++ b/src/mongo/util/duration.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/duration.h b/src/mongo/util/duration.h index c3ff219b65e..4564104f7b4 100644 --- a/src/mongo/util/duration.h +++ b/src/mongo/util/duration.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/duration_test.cpp b/src/mongo/util/duration_test.cpp index 7f0247495b2..8d21b103401 100644 --- a/src/mongo/util/duration_test.cpp +++ b/src/mongo/util/duration_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/elapsed_tracker.cpp b/src/mongo/util/elapsed_tracker.cpp index 04f316ce493..791d377bcdc 100644 --- a/src/mongo/util/elapsed_tracker.cpp +++ b/src/mongo/util/elapsed_tracker.cpp @@ -1,6 +1,3 @@ -// @file elapsed_tracker.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/elapsed_tracker.h b/src/mongo/util/elapsed_tracker.h index 9d694d6fa69..f8779f168dc 100644 --- a/src/mongo/util/elapsed_tracker.h +++ b/src/mongo/util/elapsed_tracker.h @@ -1,6 +1,3 @@ -// @file elapsed_tracker.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/embedded_builder.h b/src/mongo/util/embedded_builder.h index db0804da462..bb828b08842 100644 --- a/src/mongo/util/embedded_builder.h +++ b/src/mongo/util/embedded_builder.h @@ -1,6 +1,3 @@ -// embedded_builder.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/errno_util.cpp b/src/mongo/util/errno_util.cpp index 73491ddbf93..7c63863bea5 100644 --- a/src/mongo/util/errno_util.cpp +++ b/src/mongo/util/errno_util.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/errno_util.h b/src/mongo/util/errno_util.h index 1764f1fa03d..d948b30672f 100644 --- a/src/mongo/util/errno_util.h +++ b/src/mongo/util/errno_util.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/exception_filter_win32.cpp b/src/mongo/util/exception_filter_win32.cpp index b830c639d1f..dfb631b1196 100644 --- a/src/mongo/util/exception_filter_win32.cpp +++ b/src/mongo/util/exception_filter_win32.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/exception_filter_win32.h b/src/mongo/util/exception_filter_win32.h index 0022fb1821f..ea4c2ccf501 100644 --- a/src/mongo/util/exception_filter_win32.h +++ b/src/mongo/util/exception_filter_win32.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/exit.cpp b/src/mongo/util/exit.cpp index 2c2f9409e83..8ba0cc8dc2b 100644 --- a/src/mongo/util/exit.cpp +++ b/src/mongo/util/exit.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/exit.h b/src/mongo/util/exit.h index b7ca4482663..7c7176449fe 100644 --- a/src/mongo/util/exit.h +++ b/src/mongo/util/exit.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/exit_code.h b/src/mongo/util/exit_code.h index d3db524d52c..c1bceb598ab 100644 --- a/src/mongo/util/exit_code.h +++ b/src/mongo/util/exit_code.h @@ -1,9 +1,3 @@ -/** @file mongo/util/exit_code.h - * - * Mongo exit codes. - */ - - /** * Copyright (C) 2018-present MongoDB, Inc. * @@ -35,6 +29,10 @@ #pragma once +/** + * Mongo exit codes. + */ + namespace mongo { enum ExitCode : int { diff --git a/src/mongo/util/fail_point.cpp b/src/mongo/util/fail_point.cpp index 324a4056eb5..ca70ecd7afd 100644 --- a/src/mongo/util/fail_point.cpp +++ b/src/mongo/util/fail_point.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point.h b/src/mongo/util/fail_point.h index 380fcbd5753..57269fa8bc0 100644 --- a/src/mongo/util/fail_point.h +++ b/src/mongo/util/fail_point.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point_registry.cpp b/src/mongo/util/fail_point_registry.cpp index dcecebebdef..351cbe2d0da 100644 --- a/src/mongo/util/fail_point_registry.cpp +++ b/src/mongo/util/fail_point_registry.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point_registry.h b/src/mongo/util/fail_point_registry.h index 4b7a7a10f98..7446db95eb1 100644 --- a/src/mongo/util/fail_point_registry.h +++ b/src/mongo/util/fail_point_registry.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point_service.cpp b/src/mongo/util/fail_point_service.cpp index cbc0a5b0581..9b286d6fc32 100644 --- a/src/mongo/util/fail_point_service.cpp +++ b/src/mongo/util/fail_point_service.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point_service.h b/src/mongo/util/fail_point_service.h index 096f04df7a4..4852b673b2a 100644 --- a/src/mongo/util/fail_point_service.h +++ b/src/mongo/util/fail_point_service.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fail_point_test.cpp b/src/mongo/util/fail_point_test.cpp index 3e966843282..c8f974d475f 100644 --- a/src/mongo/util/fail_point_test.cpp +++ b/src/mongo/util/fail_point_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fast_clock_source_factory.cpp b/src/mongo/util/fast_clock_source_factory.cpp index e6551452138..d62da029e44 100644 --- a/src/mongo/util/fast_clock_source_factory.cpp +++ b/src/mongo/util/fast_clock_source_factory.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/fast_clock_source_factory.h b/src/mongo/util/fast_clock_source_factory.h index 18a2a07530f..b69cd542e59 100644 --- a/src/mongo/util/fast_clock_source_factory.h +++ b/src/mongo/util/fast_clock_source_factory.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/file.cpp b/src/mongo/util/file.cpp index 061b23858dc..1aa2133e5e8 100644 --- a/src/mongo/util/file.cpp +++ b/src/mongo/util/file.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/file.h b/src/mongo/util/file.h index 4652c5214ff..6676ee21bd4 100644 --- a/src/mongo/util/file.h +++ b/src/mongo/util/file.h @@ -1,6 +1,3 @@ -// file.h cross platform basic file class. supports 64 bit offsets and such. - - /** * Copyright (C) 2018-present MongoDB, Inc. * @@ -32,6 +29,8 @@ #pragma once +// Cross-platform basic file class. Supports 64-bit offsets and such. + #include <cstdint> #include <string> diff --git a/src/mongo/util/functional.h b/src/mongo/util/functional.h index 975e974e762..5eb279b460c 100644 --- a/src/mongo/util/functional.h +++ b/src/mongo/util/functional.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future.h b/src/mongo/util/future.h index 3ad43982591..409d3d50f25 100644 --- a/src/mongo/util/future.h +++ b/src/mongo/util/future.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_bm.cpp b/src/mongo/util/future_bm.cpp index 36469b836c1..fa6bf6e01ea 100644 --- a/src/mongo/util/future_bm.cpp +++ b/src/mongo/util/future_bm.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_edge_cases.cpp b/src/mongo/util/future_test_edge_cases.cpp index f2b05484ce1..d5b19e2c818 100644 --- a/src/mongo/util/future_test_edge_cases.cpp +++ b/src/mongo/util/future_test_edge_cases.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_future_int.cpp b/src/mongo/util/future_test_future_int.cpp index 6e4395952a7..d976f751662 100644 --- a/src/mongo/util/future_test_future_int.cpp +++ b/src/mongo/util/future_test_future_int.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_future_move_only.cpp b/src/mongo/util/future_test_future_move_only.cpp index 5a428601023..dedf4ece469 100644 --- a/src/mongo/util/future_test_future_move_only.cpp +++ b/src/mongo/util/future_test_future_move_only.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_future_void.cpp b/src/mongo/util/future_test_future_void.cpp index a2b4b3cb310..8f46ec83439 100644 --- a/src/mongo/util/future_test_future_void.cpp +++ b/src/mongo/util/future_test_future_void.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_promise_int.cpp b/src/mongo/util/future_test_promise_int.cpp index 10109a448f4..7d371a4358d 100644 --- a/src/mongo/util/future_test_promise_int.cpp +++ b/src/mongo/util/future_test_promise_int.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_promise_void.cpp b/src/mongo/util/future_test_promise_void.cpp index b03f1396d5a..32fa8c3efc9 100644 --- a/src/mongo/util/future_test_promise_void.cpp +++ b/src/mongo/util/future_test_promise_void.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/future_test_utils.h b/src/mongo/util/future_test_utils.h index 4cd20daadac..c9f1641efad 100644 --- a/src/mongo/util/future_test_utils.h +++ b/src/mongo/util/future_test_utils.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/hash_table_bm.cpp b/src/mongo/util/hash_table_bm.cpp index 2c7ec3d0480..90586e93ba9 100644 --- a/src/mongo/util/hash_table_bm.cpp +++ b/src/mongo/util/hash_table_bm.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/hex.cpp b/src/mongo/util/hex.cpp index 8cd7a882b67..1bbf362ada9 100644 --- a/src/mongo/util/hex.cpp +++ b/src/mongo/util/hex.cpp @@ -1,6 +1,3 @@ -// util/hex.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/hex.h b/src/mongo/util/hex.h index a08c68efb8b..37deef904a8 100644 --- a/src/mongo/util/hex.h +++ b/src/mongo/util/hex.h @@ -1,6 +1,3 @@ -// util/hex.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/icu.cpp b/src/mongo/util/icu.cpp index 9825da56fde..14f7c174ee3 100644 --- a/src/mongo/util/icu.cpp +++ b/src/mongo/util/icu.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/icu.h b/src/mongo/util/icu.h index 99baf411db7..2f10aecf4e7 100644 --- a/src/mongo/util/icu.h +++ b/src/mongo/util/icu.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/icu_init_stub.cpp b/src/mongo/util/icu_init_stub.cpp index bde1b0df751..29838c88b63 100644 --- a/src/mongo/util/icu_init_stub.cpp +++ b/src/mongo/util/icu_init_stub.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/icu_test.cpp b/src/mongo/util/icu_test.cpp index 38a5bd2a265..6439380b04d 100644 --- a/src/mongo/util/icu_test.cpp +++ b/src/mongo/util/icu_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/interruptible.h b/src/mongo/util/interruptible.h index 76acfb36582..9eb46e1361f 100644 --- a/src/mongo/util/interruptible.h +++ b/src/mongo/util/interruptible.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/intrusive_counter.cpp b/src/mongo/util/intrusive_counter.cpp index c73e612d192..92eeb0b4bb8 100644 --- a/src/mongo/util/intrusive_counter.cpp +++ b/src/mongo/util/intrusive_counter.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/intrusive_counter.h b/src/mongo/util/intrusive_counter.h index 515e5554591..1ca640e5a4b 100644 --- a/src/mongo/util/intrusive_counter.h +++ b/src/mongo/util/intrusive_counter.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/invalidating_lru_cache.h b/src/mongo/util/invalidating_lru_cache.h index 37a7bcdfef0..aeb2b93a555 100644 --- a/src/mongo/util/invalidating_lru_cache.h +++ b/src/mongo/util/invalidating_lru_cache.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/invalidating_lru_cache_test.cpp b/src/mongo/util/invalidating_lru_cache_test.cpp index 4ef42056693..150cae38792 100644 --- a/src/mongo/util/invalidating_lru_cache_test.cpp +++ b/src/mongo/util/invalidating_lru_cache_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/invariant.h b/src/mongo/util/invariant.h index 259b3a5ba1e..c4f0b0823aa 100644 --- a/src/mongo/util/invariant.h +++ b/src/mongo/util/invariant.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/itoa.cpp b/src/mongo/util/itoa.cpp index c7b4204221d..25a7349cf17 100644 --- a/src/mongo/util/itoa.cpp +++ b/src/mongo/util/itoa.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/itoa.h b/src/mongo/util/itoa.h index 317b60bfd07..60cda13e676 100644 --- a/src/mongo/util/itoa.h +++ b/src/mongo/util/itoa.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/itoa_test.cpp b/src/mongo/util/itoa_test.cpp index 7787c57dc11..9d505bd5601 100644 --- a/src/mongo/util/itoa_test.cpp +++ b/src/mongo/util/itoa_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/keyed_executor.h b/src/mongo/util/keyed_executor.h index 80862d81e8e..82045727199 100644 --- a/src/mongo/util/keyed_executor.h +++ b/src/mongo/util/keyed_executor.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/keyed_executor_test.cpp b/src/mongo/util/keyed_executor_test.cpp index 9332891b7e7..bd507eaf416 100644 --- a/src/mongo/util/keyed_executor_test.cpp +++ b/src/mongo/util/keyed_executor_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp index 945522eff81..9fd85790d30 100644 --- a/src/mongo/util/log.cpp +++ b/src/mongo/util/log.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/log.h b/src/mongo/util/log.h index 7dd16e6f706..a5b08428478 100644 --- a/src/mongo/util/log.h +++ b/src/mongo/util/log.h @@ -1,6 +1,3 @@ -// @file log.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/lru_cache.h b/src/mongo/util/lru_cache.h index 87c514832dc..d09aa6f7c84 100644 --- a/src/mongo/util/lru_cache.h +++ b/src/mongo/util/lru_cache.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/lru_cache_test.cpp b/src/mongo/util/lru_cache_test.cpp index af3f5c9e208..ef24d708828 100644 --- a/src/mongo/util/lru_cache_test.cpp +++ b/src/mongo/util/lru_cache_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/make_array_type.h b/src/mongo/util/make_array_type.h index 9b2d34db426..ec146db7cd5 100644 --- a/src/mongo/util/make_array_type.h +++ b/src/mongo/util/make_array_type.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/map_util.h b/src/mongo/util/map_util.h index 49620015557..b576eb573af 100644 --- a/src/mongo/util/map_util.h +++ b/src/mongo/util/map_util.h @@ -1,6 +1,3 @@ -// "mongo/util/map_util.h" - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/md5_test.cpp b/src/mongo/util/md5_test.cpp index 726cde5a2a3..996cf6ae931 100644 --- a/src/mongo/util/md5_test.cpp +++ b/src/mongo/util/md5_test.cpp @@ -1,6 +1,3 @@ -// md5_test.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/mock_periodic_runner_impl.h b/src/mongo/util/mock_periodic_runner_impl.h index 821aff22a7b..207fefe904d 100644 --- a/src/mongo/util/mock_periodic_runner_impl.h +++ b/src/mongo/util/mock_periodic_runner_impl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/mongoutils/str.h b/src/mongo/util/mongoutils/str.h index 60c525f360e..8d9eb98cc2f 100644 --- a/src/mongo/util/mongoutils/str.h +++ b/src/mongo/util/mongoutils/str.h @@ -1,6 +1,3 @@ -// @file str.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/cidr.cpp b/src/mongo/util/net/cidr.cpp index 6db58c907ea..8e3f5899c42 100644 --- a/src/mongo/util/net/cidr.cpp +++ b/src/mongo/util/net/cidr.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/cidr.h b/src/mongo/util/net/cidr.h index b60165bc517..a7dd48a6645 100644 --- a/src/mongo/util/net/cidr.h +++ b/src/mongo/util/net/cidr.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/cidr_test.cpp b/src/mongo/util/net/cidr_test.cpp index 74dcd3f60d9..5b140a638a8 100644 --- a/src/mongo/util/net/cidr_test.cpp +++ b/src/mongo/util/net/cidr_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/dh_openssl.h b/src/mongo/util/net/dh_openssl.h index b32e3a4942c..b9d8afaa7b8 100644 --- a/src/mongo/util/net/dh_openssl.h +++ b/src/mongo/util/net/dh_openssl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/hostandport.cpp b/src/mongo/util/net/hostandport.cpp index eb6b402a05c..6eab3a7aa7d 100644 --- a/src/mongo/util/net/hostandport.cpp +++ b/src/mongo/util/net/hostandport.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/hostandport.h b/src/mongo/util/net/hostandport.h index d7b069ef08e..fdadf39d9e1 100644 --- a/src/mongo/util/net/hostandport.h +++ b/src/mongo/util/net/hostandport.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/hostandport_test.cpp b/src/mongo/util/net/hostandport_test.cpp index a3f01e559e0..c70c8e7f4ae 100644 --- a/src/mongo/util/net/hostandport_test.cpp +++ b/src/mongo/util/net/hostandport_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/hostname_canonicalization.cpp b/src/mongo/util/net/hostname_canonicalization.cpp index ae39f103e79..e3710912892 100644 --- a/src/mongo/util/net/hostname_canonicalization.cpp +++ b/src/mongo/util/net/hostname_canonicalization.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/hostname_canonicalization.h b/src/mongo/util/net/hostname_canonicalization.h index 81813c45923..99a1fd4444d 100644 --- a/src/mongo/util/net/hostname_canonicalization.h +++ b/src/mongo/util/net/hostname_canonicalization.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/http_client.h b/src/mongo/util/net/http_client.h index 9504f6d1fff..be6c5440931 100644 --- a/src/mongo/util/net/http_client.h +++ b/src/mongo/util/net/http_client.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/http_client_curl.cpp b/src/mongo/util/net/http_client_curl.cpp index e9fb3271708..18d37d14da3 100644 --- a/src/mongo/util/net/http_client_curl.cpp +++ b/src/mongo/util/net/http_client_curl.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/http_client_none.cpp b/src/mongo/util/net/http_client_none.cpp index c71df5ecb39..d3e8f3c58f2 100644 --- a/src/mongo/util/net/http_client_none.cpp +++ b/src/mongo/util/net/http_client_none.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/http_client_winhttp.cpp b/src/mongo/util/net/http_client_winhttp.cpp index de095199e2d..94d2ade6f66 100644 --- a/src/mongo/util/net/http_client_winhttp.cpp +++ b/src/mongo/util/net/http_client_winhttp.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/private/socket_poll.cpp b/src/mongo/util/net/private/socket_poll.cpp index dbed87e2bf4..28bfed452de 100644 --- a/src/mongo/util/net/private/socket_poll.cpp +++ b/src/mongo/util/net/private/socket_poll.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/private/socket_poll.h b/src/mongo/util/net/private/socket_poll.h index a8bec97d138..705633f624b 100644 --- a/src/mongo/util/net/private/socket_poll.h +++ b/src/mongo/util/net/private/socket_poll.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/private/ssl_expiration.cpp b/src/mongo/util/net/private/ssl_expiration.cpp index ca1c8b61ae6..3ef6236d2c8 100644 --- a/src/mongo/util/net/private/ssl_expiration.cpp +++ b/src/mongo/util/net/private/ssl_expiration.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/private/ssl_expiration.h b/src/mongo/util/net/private/ssl_expiration.h index d7026b01829..fb22505c020 100644 --- a/src/mongo/util/net/private/ssl_expiration.h +++ b/src/mongo/util/net/private/ssl_expiration.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/sock.cpp b/src/mongo/util/net/sock.cpp index 311b713c8ae..f56a0a31778 100644 --- a/src/mongo/util/net/sock.cpp +++ b/src/mongo/util/net/sock.cpp @@ -1,6 +1,3 @@ -// @file sock.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/sock.h b/src/mongo/util/net/sock.h index e76adc0139e..071cd2a7ced 100644 --- a/src/mongo/util/net/sock.h +++ b/src/mongo/util/net/sock.h @@ -1,6 +1,3 @@ -// @file sock.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/sock_test.cpp b/src/mongo/util/net/sock_test.cpp index c2ea570c0a6..77931df8b94 100644 --- a/src/mongo/util/net/sock_test.cpp +++ b/src/mongo/util/net/sock_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/sockaddr.cpp b/src/mongo/util/net/sockaddr.cpp index 34a926eaf00..819702ddca3 100644 --- a/src/mongo/util/net/sockaddr.cpp +++ b/src/mongo/util/net/sockaddr.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/sockaddr.h b/src/mongo/util/net/sockaddr.h index 67f8304de2c..d704f227523 100644 --- a/src/mongo/util/net/sockaddr.h +++ b/src/mongo/util/net/sockaddr.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/socket_exception.cpp b/src/mongo/util/net/socket_exception.cpp index 0c059a99601..eaf83cdf04b 100644 --- a/src/mongo/util/net/socket_exception.cpp +++ b/src/mongo/util/net/socket_exception.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/socket_exception.h b/src/mongo/util/net/socket_exception.h index 6dc984ac344..17ed5d3701a 100644 --- a/src/mongo/util/net/socket_exception.h +++ b/src/mongo/util/net/socket_exception.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/socket_utils.cpp b/src/mongo/util/net/socket_utils.cpp index 3f20807b5aa..556d41edb8c 100644 --- a/src/mongo/util/net/socket_utils.cpp +++ b/src/mongo/util/net/socket_utils.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/socket_utils.h b/src/mongo/util/net/socket_utils.h index 7f33526fa1d..2d12f331a0e 100644 --- a/src/mongo/util/net/socket_utils.h +++ b/src/mongo/util/net/socket_utils.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager.h b/src/mongo/util/net/ssl_manager.h index a34075d482e..7a8f5889d1b 100644 --- a/src/mongo/util/net/ssl_manager.h +++ b/src/mongo/util/net/ssl_manager.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager_apple.cpp b/src/mongo/util/net/ssl_manager_apple.cpp index 6d16d98fae0..c2dc902137f 100644 --- a/src/mongo/util/net/ssl_manager_apple.cpp +++ b/src/mongo/util/net/ssl_manager_apple.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager_none.cpp b/src/mongo/util/net/ssl_manager_none.cpp index e568ec82d6d..696ff2f95a5 100644 --- a/src/mongo/util/net/ssl_manager_none.cpp +++ b/src/mongo/util/net/ssl_manager_none.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp index 78da9916ffc..160368bcfd5 100644 --- a/src/mongo/util/net/ssl_manager_openssl.cpp +++ b/src/mongo/util/net/ssl_manager_openssl.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager_test.cpp b/src/mongo/util/net/ssl_manager_test.cpp index 8869cbede6f..0614c41445e 100644 --- a/src/mongo/util/net/ssl_manager_test.cpp +++ b/src/mongo/util/net/ssl_manager_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_manager_windows.cpp b/src/mongo/util/net/ssl_manager_windows.cpp index cfdc226c53f..300461ed977 100644 --- a/src/mongo/util/net/ssl_manager_windows.cpp +++ b/src/mongo/util/net/ssl_manager_windows.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_options.cpp b/src/mongo/util/net/ssl_options.cpp index fde6a4fa57f..bc87567cafe 100644 --- a/src/mongo/util/net/ssl_options.cpp +++ b/src/mongo/util/net/ssl_options.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_options.h b/src/mongo/util/net/ssl_options.h index 9bbb026ab08..27402e8a923 100644 --- a/src/mongo/util/net/ssl_options.h +++ b/src/mongo/util/net/ssl_options.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_options_client.cpp b/src/mongo/util/net/ssl_options_client.cpp index 58be48b7ba3..fb40ebb2bc7 100644 --- a/src/mongo/util/net/ssl_options_client.cpp +++ b/src/mongo/util/net/ssl_options_client.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_options_server.cpp b/src/mongo/util/net/ssl_options_server.cpp index 8fdadd085b4..dba0e0f94f7 100644 --- a/src/mongo/util/net/ssl_options_server.cpp +++ b/src/mongo/util/net/ssl_options_server.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_options_test.cpp b/src/mongo/util/net/ssl_options_test.cpp index 6a701c58fbc..c85bc240559 100644 --- a/src/mongo/util/net/ssl_options_test.cpp +++ b/src/mongo/util/net/ssl_options_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_parameters.cpp b/src/mongo/util/net/ssl_parameters.cpp index 74112b58cbe..816b993034c 100644 --- a/src/mongo/util/net/ssl_parameters.cpp +++ b/src/mongo/util/net/ssl_parameters.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_stream.cpp b/src/mongo/util/net/ssl_stream.cpp index a99723d4a32..8aec85a3133 100644 --- a/src/mongo/util/net/ssl_stream.cpp +++ b/src/mongo/util/net/ssl_stream.cpp @@ -1,12 +1,32 @@ -// -// asio_ssl.cpp -// ~~~~~~~~~~~~ -// -// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) -// -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// +/** + * Copyright (C) 2018-present MongoDB, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the Server Side Public License, version 1, + * as published by MongoDB, Inc. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * Server Side Public License for more details. + * + * You should have received a copy of the Server Side Public License + * along with this program. If not, see + * <http://www.mongodb.com/licensing/server-side-public-license>. + * + * As a special exception, the copyright holders give permission to link the + * code of portions of this program with the OpenSSL library under certain + * conditions as described in each individual source file and distribute + * linked combinations including the program with the OpenSSL library. You + * must comply with the Server Side Public License in all respects for + * all of the code used other than as permitted herein. If you modify file(s) + * with this exception, you may extend this exception to your version of the + * file(s), but you are not obligated to do so. If you do not wish to do so, + * delete this exception statement from your version. If you delete this + * exception statement from all source files in the program, then also delete + * it in the license file. + */ + #include "mongo/platform/basic.h" #include "mongo/config.h" diff --git a/src/mongo/util/net/ssl_types.cpp b/src/mongo/util/net/ssl_types.cpp index 09427eb9d4e..1e1af066a29 100644 --- a/src/mongo/util/net/ssl_types.cpp +++ b/src/mongo/util/net/ssl_types.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/net/ssl_types.h b/src/mongo/util/net/ssl_types.h index 7bcca37700e..cd2175df49e 100644 --- a/src/mongo/util/net/ssl_types.h +++ b/src/mongo/util/net/ssl_types.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/ntservice.cpp b/src/mongo/util/ntservice.cpp index ae8aadb8852..d58f22203a2 100644 --- a/src/mongo/util/ntservice.cpp +++ b/src/mongo/util/ntservice.cpp @@ -1,6 +1,3 @@ -// ntservice.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/ntservice.h b/src/mongo/util/ntservice.h index d5c12fd6b38..021110f22a0 100644 --- a/src/mongo/util/ntservice.h +++ b/src/mongo/util/ntservice.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/ntservice_test.cpp b/src/mongo/util/ntservice_test.cpp index d5a16bd59ba..b53714210f4 100644 --- a/src/mongo/util/ntservice_test.cpp +++ b/src/mongo/util/ntservice_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/constraints.cpp b/src/mongo/util/options_parser/constraints.cpp index 2cb0a61dbc5..70511e60491 100644 --- a/src/mongo/util/options_parser/constraints.cpp +++ b/src/mongo/util/options_parser/constraints.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/constraints.h b/src/mongo/util/options_parser/constraints.h index 5537adfe937..674154a1477 100644 --- a/src/mongo/util/options_parser/constraints.h +++ b/src/mongo/util/options_parser/constraints.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/environment.cpp b/src/mongo/util/options_parser/environment.cpp index 194fa1a15fa..1ef8fd0746f 100644 --- a/src/mongo/util/options_parser/environment.cpp +++ b/src/mongo/util/options_parser/environment.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/environment.h b/src/mongo/util/options_parser/environment.h index fed07551847..5ad7f5beb89 100644 --- a/src/mongo/util/options_parser/environment.h +++ b/src/mongo/util/options_parser/environment.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/environment_test.cpp b/src/mongo/util/options_parser/environment_test.cpp index ab036607018..1563d538206 100644 --- a/src/mongo/util/options_parser/environment_test.cpp +++ b/src/mongo/util/options_parser/environment_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/option_description.cpp b/src/mongo/util/options_parser/option_description.cpp index df0c25f3243..961d0c25331 100644 --- a/src/mongo/util/options_parser/option_description.cpp +++ b/src/mongo/util/options_parser/option_description.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/option_description.h b/src/mongo/util/options_parser/option_description.h index 194fc5d1902..b34d1d47b5c 100644 --- a/src/mongo/util/options_parser/option_description.h +++ b/src/mongo/util/options_parser/option_description.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/option_section.cpp b/src/mongo/util/options_parser/option_section.cpp index 4e3687eb560..2907cfcf040 100644 --- a/src/mongo/util/options_parser/option_section.cpp +++ b/src/mongo/util/options_parser/option_section.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/option_section.h b/src/mongo/util/options_parser/option_section.h index d776c18ae00..a909f6034b4 100644 --- a/src/mongo/util/options_parser/option_section.h +++ b/src/mongo/util/options_parser/option_section.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/options_parser.cpp b/src/mongo/util/options_parser/options_parser.cpp index c84cdaafd80..d6ab75370ce 100644 --- a/src/mongo/util/options_parser/options_parser.cpp +++ b/src/mongo/util/options_parser/options_parser.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/options_parser.h b/src/mongo/util/options_parser/options_parser.h index e12611a27bc..dd0278c6b23 100644 --- a/src/mongo/util/options_parser/options_parser.h +++ b/src/mongo/util/options_parser/options_parser.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/options_parser_init.cpp b/src/mongo/util/options_parser/options_parser_init.cpp index c4abfae9416..c484518ca3d 100644 --- a/src/mongo/util/options_parser/options_parser_init.cpp +++ b/src/mongo/util/options_parser/options_parser_init.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/options_parser_test.cpp b/src/mongo/util/options_parser/options_parser_test.cpp index 4bbb7c8f36f..0ef841fab53 100644 --- a/src/mongo/util/options_parser/options_parser_test.cpp +++ b/src/mongo/util/options_parser/options_parser_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/startup_option_init.cpp b/src/mongo/util/options_parser/startup_option_init.cpp index 8a3fa21a579..ac0db11a49b 100644 --- a/src/mongo/util/options_parser/startup_option_init.cpp +++ b/src/mongo/util/options_parser/startup_option_init.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/startup_option_init.h b/src/mongo/util/options_parser/startup_option_init.h index 02db6207e3d..c027574dd21 100644 --- a/src/mongo/util/options_parser/startup_option_init.h +++ b/src/mongo/util/options_parser/startup_option_init.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/startup_options.cpp b/src/mongo/util/options_parser/startup_options.cpp index 18ac552c72e..b07340f2623 100644 --- a/src/mongo/util/options_parser/startup_options.cpp +++ b/src/mongo/util/options_parser/startup_options.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/startup_options.h b/src/mongo/util/options_parser/startup_options.h index cf12ddb6bd6..268b20b8aaf 100644 --- a/src/mongo/util/options_parser/startup_options.h +++ b/src/mongo/util/options_parser/startup_options.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/value.cpp b/src/mongo/util/options_parser/value.cpp index 248d174ddf3..86f951cf109 100644 --- a/src/mongo/util/options_parser/value.cpp +++ b/src/mongo/util/options_parser/value.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/options_parser/value.h b/src/mongo/util/options_parser/value.h index 0528deb76d3..367ed9790c9 100644 --- a/src/mongo/util/options_parser/value.h +++ b/src/mongo/util/options_parser/value.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/out_of_line_executor.h b/src/mongo/util/out_of_line_executor.h index 4aa23ad411c..9dc30653860 100644 --- a/src/mongo/util/out_of_line_executor.h +++ b/src/mongo/util/out_of_line_executor.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/password.cpp b/src/mongo/util/password.cpp index 1684e94c331..93001fc5624 100644 --- a/src/mongo/util/password.cpp +++ b/src/mongo/util/password.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/password.h b/src/mongo/util/password.h index 8ac5b27ab33..8b1f8d6d7f4 100644 --- a/src/mongo/util/password.h +++ b/src/mongo/util/password.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/password_digest.cpp b/src/mongo/util/password_digest.cpp index 34178c38406..70afb341936 100644 --- a/src/mongo/util/password_digest.cpp +++ b/src/mongo/util/password_digest.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/password_digest.h b/src/mongo/util/password_digest.h index 8bebb2572a5..6c21387b4d6 100644 --- a/src/mongo/util/password_digest.h +++ b/src/mongo/util/password_digest.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/perfctr_collect.cpp b/src/mongo/util/perfctr_collect.cpp index acf6f3a79e8..8ac2c9590c6 100644 --- a/src/mongo/util/perfctr_collect.cpp +++ b/src/mongo/util/perfctr_collect.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/perfctr_collect.h b/src/mongo/util/perfctr_collect.h index e450648648d..31a1028c41c 100644 --- a/src/mongo/util/perfctr_collect.h +++ b/src/mongo/util/perfctr_collect.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/perfctr_collect_test.cpp b/src/mongo/util/perfctr_collect_test.cpp index 71e74355069..35380d43421 100644 --- a/src/mongo/util/perfctr_collect_test.cpp +++ b/src/mongo/util/perfctr_collect_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner.cpp b/src/mongo/util/periodic_runner.cpp index 5e8cbc9b344..dc54356142c 100644 --- a/src/mongo/util/periodic_runner.cpp +++ b/src/mongo/util/periodic_runner.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner.h b/src/mongo/util/periodic_runner.h index 48354326e29..59829584a51 100644 --- a/src/mongo/util/periodic_runner.h +++ b/src/mongo/util/periodic_runner.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner_factory.cpp b/src/mongo/util/periodic_runner_factory.cpp index aac6ed003b1..66cddf81be6 100644 --- a/src/mongo/util/periodic_runner_factory.cpp +++ b/src/mongo/util/periodic_runner_factory.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner_factory.h b/src/mongo/util/periodic_runner_factory.h index 0d6d385704c..34c48da5e92 100644 --- a/src/mongo/util/periodic_runner_factory.h +++ b/src/mongo/util/periodic_runner_factory.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner_impl.cpp b/src/mongo/util/periodic_runner_impl.cpp index aad8d19c34f..e17741b8533 100644 --- a/src/mongo/util/periodic_runner_impl.cpp +++ b/src/mongo/util/periodic_runner_impl.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner_impl.h b/src/mongo/util/periodic_runner_impl.h index 8c59a4f3e84..97e9467a436 100644 --- a/src/mongo/util/periodic_runner_impl.h +++ b/src/mongo/util/periodic_runner_impl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/periodic_runner_impl_test.cpp b/src/mongo/util/periodic_runner_impl_test.cpp index ef3a6ad9782..c893269b396 100644 --- a/src/mongo/util/periodic_runner_impl_test.cpp +++ b/src/mongo/util/periodic_runner_impl_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/platform_init.cpp b/src/mongo/util/platform_init.cpp index e5095b2b681..25f72ed87ab 100644 --- a/src/mongo/util/platform_init.cpp +++ b/src/mongo/util/platform_init.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/polymorphic_scoped.h b/src/mongo/util/polymorphic_scoped.h index fc164cee4dc..cace603334b 100644 --- a/src/mongo/util/polymorphic_scoped.h +++ b/src/mongo/util/polymorphic_scoped.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo.cpp b/src/mongo/util/processinfo.cpp index 0001169bc57..e45115c8c30 100644 --- a/src/mongo/util/processinfo.cpp +++ b/src/mongo/util/processinfo.cpp @@ -1,6 +1,3 @@ -// processinfo.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo.h b/src/mongo/util/processinfo.h index b21740012d8..2b8b13d1953 100644 --- a/src/mongo/util/processinfo.h +++ b/src/mongo/util/processinfo.h @@ -1,6 +1,3 @@ -// processinfo.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_android.cpp b/src/mongo/util/processinfo_android.cpp index 308265f573e..0adf5ae2a2d 100644 --- a/src/mongo/util/processinfo_android.cpp +++ b/src/mongo/util/processinfo_android.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_emscripten.cpp b/src/mongo/util/processinfo_emscripten.cpp index 19feb99f0d8..de982a17558 100644 --- a/src/mongo/util/processinfo_emscripten.cpp +++ b/src/mongo/util/processinfo_emscripten.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_freebsd.cpp b/src/mongo/util/processinfo_freebsd.cpp index 075fea72ffd..ada8d339406 100644 --- a/src/mongo/util/processinfo_freebsd.cpp +++ b/src/mongo/util/processinfo_freebsd.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_iOS-sim.cpp b/src/mongo/util/processinfo_iOS-sim.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_iOS-sim.cpp +++ b/src/mongo/util/processinfo_iOS-sim.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_iOS.cpp b/src/mongo/util/processinfo_iOS.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_iOS.cpp +++ b/src/mongo/util/processinfo_iOS.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_linux.cpp b/src/mongo/util/processinfo_linux.cpp index 2f262fda9bb..4bceee5a9e4 100644 --- a/src/mongo/util/processinfo_linux.cpp +++ b/src/mongo/util/processinfo_linux.cpp @@ -1,6 +1,3 @@ -// processinfo_linux2.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_macOS.cpp b/src/mongo/util/processinfo_macOS.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_macOS.cpp +++ b/src/mongo/util/processinfo_macOS.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_openbsd.cpp b/src/mongo/util/processinfo_openbsd.cpp index 7d3fa570992..fe1565316fe 100644 --- a/src/mongo/util/processinfo_openbsd.cpp +++ b/src/mongo/util/processinfo_openbsd.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_osx.cpp b/src/mongo/util/processinfo_osx.cpp index daac6a766cf..9925c1c6b02 100644 --- a/src/mongo/util/processinfo_osx.cpp +++ b/src/mongo/util/processinfo_osx.cpp @@ -1,6 +1,3 @@ -// processinfo_darwin.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_solaris.cpp b/src/mongo/util/processinfo_solaris.cpp index 779b3b6ac6c..7dd7ef26207 100644 --- a/src/mongo/util/processinfo_solaris.cpp +++ b/src/mongo/util/processinfo_solaris.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_test.cpp b/src/mongo/util/processinfo_test.cpp index a9b9498ea97..47fb5e91b5c 100644 --- a/src/mongo/util/processinfo_test.cpp +++ b/src/mongo/util/processinfo_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_tvOS-sim.cpp b/src/mongo/util/processinfo_tvOS-sim.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_tvOS-sim.cpp +++ b/src/mongo/util/processinfo_tvOS-sim.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_tvOS.cpp b/src/mongo/util/processinfo_tvOS.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_tvOS.cpp +++ b/src/mongo/util/processinfo_tvOS.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_unknown.cpp b/src/mongo/util/processinfo_unknown.cpp index 7229a31f65b..9cbad803549 100644 --- a/src/mongo/util/processinfo_unknown.cpp +++ b/src/mongo/util/processinfo_unknown.cpp @@ -1,6 +1,3 @@ -// processinfo_none.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_watchOS-sim.cpp b/src/mongo/util/processinfo_watchOS-sim.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_watchOS-sim.cpp +++ b/src/mongo/util/processinfo_watchOS-sim.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_watchOS.cpp b/src/mongo/util/processinfo_watchOS.cpp index 9c8f450f659..9c6f9a6d1f3 100644 --- a/src/mongo/util/processinfo_watchOS.cpp +++ b/src/mongo/util/processinfo_watchOS.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/processinfo_windows.cpp b/src/mongo/util/processinfo_windows.cpp index a152127c21d..75af7774933 100644 --- a/src/mongo/util/processinfo_windows.cpp +++ b/src/mongo/util/processinfo_windows.cpp @@ -1,6 +1,3 @@ -// processinfo_win32.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp index 90d148f3219..0aec03be8b3 100644 --- a/src/mongo/util/procparser.cpp +++ b/src/mongo/util/procparser.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/procparser.h b/src/mongo/util/procparser.h index 0db4fce3617..9bae32cba10 100644 --- a/src/mongo/util/procparser.h +++ b/src/mongo/util/procparser.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/procparser_test.cpp b/src/mongo/util/procparser_test.cpp index 1f6324543cb..0afd85726c1 100644 --- a/src/mongo/util/procparser_test.cpp +++ b/src/mongo/util/procparser_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/producer_consumer_queue.h b/src/mongo/util/producer_consumer_queue.h index dbb2f53dcf2..c103515d19f 100644 --- a/src/mongo/util/producer_consumer_queue.h +++ b/src/mongo/util/producer_consumer_queue.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/producer_consumer_queue_test.cpp b/src/mongo/util/producer_consumer_queue_test.cpp index a1fa880c5d6..34ff9227a8d 100644 --- a/src/mongo/util/producer_consumer_queue_test.cpp +++ b/src/mongo/util/producer_consumer_queue_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/progress_meter.cpp b/src/mongo/util/progress_meter.cpp index 98ec04926d7..1d368de3e57 100644 --- a/src/mongo/util/progress_meter.cpp +++ b/src/mongo/util/progress_meter.cpp @@ -1,6 +1,3 @@ -// progress_meter.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/progress_meter.h b/src/mongo/util/progress_meter.h index 75460d12a1c..3e1e1ac70e1 100644 --- a/src/mongo/util/progress_meter.h +++ b/src/mongo/util/progress_meter.h @@ -1,6 +1,3 @@ -// progress_meter.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/progress_meter_test.cpp b/src/mongo/util/progress_meter_test.cpp index 2d39d7bd14b..54b62841bd7 100644 --- a/src/mongo/util/progress_meter_test.cpp +++ b/src/mongo/util/progress_meter_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/queue.h b/src/mongo/util/queue.h index 796edb22722..c503f74808a 100644 --- a/src/mongo/util/queue.h +++ b/src/mongo/util/queue.h @@ -1,6 +1,3 @@ -// @file queue.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/quick_exit.cpp b/src/mongo/util/quick_exit.cpp index 9cab2106dab..a43d4980007 100644 --- a/src/mongo/util/quick_exit.cpp +++ b/src/mongo/util/quick_exit.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/quick_exit.h b/src/mongo/util/quick_exit.h index 8a2cbdcce1d..4582ae4839f 100644 --- a/src/mongo/util/quick_exit.h +++ b/src/mongo/util/quick_exit.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/ramlog.h b/src/mongo/util/ramlog.h index 4588d1531e2..1752c41be1e 100644 --- a/src/mongo/util/ramlog.h +++ b/src/mongo/util/ramlog.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/represent_as.h b/src/mongo/util/represent_as.h index f3fbeec48d8..e5d8f17829c 100644 --- a/src/mongo/util/represent_as.h +++ b/src/mongo/util/represent_as.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/represent_as_test.cpp b/src/mongo/util/represent_as_test.cpp index 5fdade5cb0b..1c7538cb3a9 100644 --- a/src/mongo/util/represent_as_test.cpp +++ b/src/mongo/util/represent_as_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/safe_num-inl.h b/src/mongo/util/safe_num-inl.h index c214d6ee30b..8cd925aff72 100644 --- a/src/mongo/util/safe_num-inl.h +++ b/src/mongo/util/safe_num-inl.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/safe_num.cpp b/src/mongo/util/safe_num.cpp index 2b8a8cf92f1..f02e603e773 100644 --- a/src/mongo/util/safe_num.cpp +++ b/src/mongo/util/safe_num.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/safe_num.h b/src/mongo/util/safe_num.h index 500429857a3..d821221e0f4 100644 --- a/src/mongo/util/safe_num.h +++ b/src/mongo/util/safe_num.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/safe_num_test.cpp b/src/mongo/util/safe_num_test.cpp index b7fc1f63447..426c4d2809e 100644 --- a/src/mongo/util/safe_num_test.cpp +++ b/src/mongo/util/safe_num_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/secure_compare_memory.cpp b/src/mongo/util/secure_compare_memory.cpp index c1523958d93..23d8f7197d1 100644 --- a/src/mongo/util/secure_compare_memory.cpp +++ b/src/mongo/util/secure_compare_memory.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/secure_compare_memory.h b/src/mongo/util/secure_compare_memory.h index 05c389cbe24..1cc66cf4fd9 100644 --- a/src/mongo/util/secure_compare_memory.h +++ b/src/mongo/util/secure_compare_memory.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/secure_zero_memory.cpp b/src/mongo/util/secure_zero_memory.cpp index 2c7dd672158..0cb98c813ac 100644 --- a/src/mongo/util/secure_zero_memory.cpp +++ b/src/mongo/util/secure_zero_memory.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/secure_zero_memory.h b/src/mongo/util/secure_zero_memory.h index 80e9d84d72f..b179fb4e894 100644 --- a/src/mongo/util/secure_zero_memory.h +++ b/src/mongo/util/secure_zero_memory.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/secure_zero_memory_test.cpp b/src/mongo/util/secure_zero_memory_test.cpp index b067dead1d1..d9769f50763 100644 --- a/src/mongo/util/secure_zero_memory_test.cpp +++ b/src/mongo/util/secure_zero_memory_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/sequence_util.h b/src/mongo/util/sequence_util.h index a18437def6b..fdcbcec7ad3 100644 --- a/src/mongo/util/sequence_util.h +++ b/src/mongo/util/sequence_util.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/shared_buffer.h b/src/mongo/util/shared_buffer.h index 5a583163d26..e18db9b7e3c 100644 --- a/src/mongo/util/shared_buffer.h +++ b/src/mongo/util/shared_buffer.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/shell_exec.cpp b/src/mongo/util/shell_exec.cpp index 1213b53076f..09cf48cad34 100644 --- a/src/mongo/util/shell_exec.cpp +++ b/src/mongo/util/shell_exec.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/shell_exec.h b/src/mongo/util/shell_exec.h index f71407ba656..a5a1fd46723 100644 --- a/src/mongo/util/shell_exec.h +++ b/src/mongo/util/shell_exec.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_handlers.cpp b/src/mongo/util/signal_handlers.cpp index 53d33787b05..707a76f3233 100644 --- a/src/mongo/util/signal_handlers.cpp +++ b/src/mongo/util/signal_handlers.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_handlers.h b/src/mongo/util/signal_handlers.h index ee300e8aa9c..584ae2d21e5 100644 --- a/src/mongo/util/signal_handlers.h +++ b/src/mongo/util/signal_handlers.h @@ -1,6 +1,3 @@ -// signal_handlers.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_handlers_synchronous.cpp b/src/mongo/util/signal_handlers_synchronous.cpp index 19cdb4b8a83..e503f62cdb9 100644 --- a/src/mongo/util/signal_handlers_synchronous.cpp +++ b/src/mongo/util/signal_handlers_synchronous.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_handlers_synchronous.h b/src/mongo/util/signal_handlers_synchronous.h index b1f3a20ed34..23e48b7d1ce 100644 --- a/src/mongo/util/signal_handlers_synchronous.h +++ b/src/mongo/util/signal_handlers_synchronous.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_handlers_synchronous_test.cpp b/src/mongo/util/signal_handlers_synchronous_test.cpp index e73f1b1a870..addd4dd6ae9 100644 --- a/src/mongo/util/signal_handlers_synchronous_test.cpp +++ b/src/mongo/util/signal_handlers_synchronous_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_win32.cpp b/src/mongo/util/signal_win32.cpp index 809ca57b339..132c71fc018 100644 --- a/src/mongo/util/signal_win32.cpp +++ b/src/mongo/util/signal_win32.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/signal_win32.h b/src/mongo/util/signal_win32.h index 38c81f0987a..d05bde04899 100644 --- a/src/mongo/util/signal_win32.h +++ b/src/mongo/util/signal_win32.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stack_introspect.h b/src/mongo/util/stack_introspect.h index a9774902ed8..9087711ad69 100644 --- a/src/mongo/util/stack_introspect.h +++ b/src/mongo/util/stack_introspect.h @@ -1,6 +1,3 @@ -// stack_introspect.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stacktrace.cpp b/src/mongo/util/stacktrace.cpp index 83334ac27cc..14dc55838b4 100644 --- a/src/mongo/util/stacktrace.cpp +++ b/src/mongo/util/stacktrace.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stacktrace.h b/src/mongo/util/stacktrace.h index 997cecec784..910a445720d 100644 --- a/src/mongo/util/stacktrace.h +++ b/src/mongo/util/stacktrace.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stacktrace_posix.cpp b/src/mongo/util/stacktrace_posix.cpp index b5224a09c14..ac3fadeb549 100644 --- a/src/mongo/util/stacktrace_posix.cpp +++ b/src/mongo/util/stacktrace_posix.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stacktrace_windows.cpp b/src/mongo/util/stacktrace_windows.cpp index c4033170e8d..f08d39f35fe 100644 --- a/src/mongo/util/stacktrace_windows.cpp +++ b/src/mongo/util/stacktrace_windows.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/startup_test.cpp b/src/mongo/util/startup_test.cpp index 57011b67919..8d768bafbd8 100644 --- a/src/mongo/util/startup_test.cpp +++ b/src/mongo/util/startup_test.cpp @@ -1,6 +1,3 @@ -// mongo/util/startup_test.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/startup_test.h b/src/mongo/util/startup_test.h index f9fb4591e2c..f15fbbad298 100644 --- a/src/mongo/util/startup_test.h +++ b/src/mongo/util/startup_test.h @@ -1,6 +1,3 @@ -// mongo/util/startup_test.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/string_map.h b/src/mongo/util/string_map.h index 9d65713ffdf..fbc41289c49 100644 --- a/src/mongo/util/string_map.h +++ b/src/mongo/util/string_map.h @@ -1,6 +1,3 @@ -// string_map.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/string_map_test.cpp b/src/mongo/util/string_map_test.cpp index 8bffcbded1b..b244313db6b 100644 --- a/src/mongo/util/string_map_test.cpp +++ b/src/mongo/util/string_map_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stringutils.cpp b/src/mongo/util/stringutils.cpp index 6c3b52d15a1..8cffc75d0e0 100644 --- a/src/mongo/util/stringutils.cpp +++ b/src/mongo/util/stringutils.cpp @@ -1,6 +1,3 @@ -// stringutils.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stringutils.h b/src/mongo/util/stringutils.h index df89184e65f..52ef1675e2a 100644 --- a/src/mongo/util/stringutils.h +++ b/src/mongo/util/stringutils.h @@ -1,6 +1,3 @@ -// stringutils.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/stringutils_test.cpp b/src/mongo/util/stringutils_test.cpp index dd03d0a5296..675e7cb78f1 100644 --- a/src/mongo/util/stringutils_test.cpp +++ b/src/mongo/util/stringutils_test.cpp @@ -1,6 +1,3 @@ -// stringutils_test.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/summation.cpp b/src/mongo/util/summation.cpp index 4db9aa5c692..d4700a2b381 100644 --- a/src/mongo/util/summation.cpp +++ b/src/mongo/util/summation.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/summation.h b/src/mongo/util/summation.h index 3ca36801b5b..1da8efe4bb1 100644 --- a/src/mongo/util/summation.h +++ b/src/mongo/util/summation.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/summation_test.cpp b/src/mongo/util/summation_test.cpp index fa74815b277..1fd8a632640 100644 --- a/src/mongo/util/summation_test.cpp +++ b/src/mongo/util/summation_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/synchronized_value.h b/src/mongo/util/synchronized_value.h index 8b067d52fdf..a49585b9426 100644 --- a/src/mongo/util/synchronized_value.h +++ b/src/mongo/util/synchronized_value.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/system_clock_source.cpp b/src/mongo/util/system_clock_source.cpp index 3be99e1837d..4bc0b69e759 100644 --- a/src/mongo/util/system_clock_source.cpp +++ b/src/mongo/util/system_clock_source.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/system_clock_source.h b/src/mongo/util/system_clock_source.h index 5d6c2a86299..f34a112a2db 100644 --- a/src/mongo/util/system_clock_source.h +++ b/src/mongo/util/system_clock_source.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/system_tick_source.cpp b/src/mongo/util/system_tick_source.cpp index 88437acda1b..0defb2d0450 100644 --- a/src/mongo/util/system_tick_source.cpp +++ b/src/mongo/util/system_tick_source.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/system_tick_source.h b/src/mongo/util/system_tick_source.h index 55e76d3880d..df59541fcee 100644 --- a/src/mongo/util/system_tick_source.h +++ b/src/mongo/util/system_tick_source.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/table_formatter.h b/src/mongo/util/table_formatter.h index 7bb57c75d50..673b8b0d2ab 100644 --- a/src/mongo/util/table_formatter.h +++ b/src/mongo/util/table_formatter.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/tcmalloc_set_parameter.cpp b/src/mongo/util/tcmalloc_set_parameter.cpp index 7155ec26415..f650d9b7e07 100644 --- a/src/mongo/util/tcmalloc_set_parameter.cpp +++ b/src/mongo/util/tcmalloc_set_parameter.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/text.cpp b/src/mongo/util/text.cpp index 4d10fc88f83..76f11f2761a 100644 --- a/src/mongo/util/text.cpp +++ b/src/mongo/util/text.cpp @@ -1,6 +1,3 @@ -// text.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/text.h b/src/mongo/util/text.h index 94979610b34..06c4a1de126 100644 --- a/src/mongo/util/text.h +++ b/src/mongo/util/text.h @@ -1,6 +1,3 @@ -// text.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/text_test.cpp b/src/mongo/util/text_test.cpp index 67a70367dca..cee43fd57cc 100644 --- a/src/mongo/util/text_test.cpp +++ b/src/mongo/util/text_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/thread_safe_string.cpp b/src/mongo/util/thread_safe_string.cpp index 0ebdbc52013..e82b0353d33 100644 --- a/src/mongo/util/thread_safe_string.cpp +++ b/src/mongo/util/thread_safe_string.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/thread_safe_string.h b/src/mongo/util/thread_safe_string.h index 6e3c3af1809..baf00eea527 100644 --- a/src/mongo/util/thread_safe_string.h +++ b/src/mongo/util/thread_safe_string.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/tick_source.h b/src/mongo/util/tick_source.h index f8e70ffed02..f77ea9d1d6f 100644 --- a/src/mongo/util/tick_source.h +++ b/src/mongo/util/tick_source.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/tick_source_mock.h b/src/mongo/util/tick_source_mock.h index b90c65a952c..9010a7edc28 100644 --- a/src/mongo/util/tick_source_mock.h +++ b/src/mongo/util/tick_source_mock.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/tick_source_test.cpp b/src/mongo/util/tick_source_test.cpp index 33bc93eb3c8..78ea3dac678 100644 --- a/src/mongo/util/tick_source_test.cpp +++ b/src/mongo/util/tick_source_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/time_support.cpp b/src/mongo/util/time_support.cpp index 91830f4db05..22f54dcb417 100644 --- a/src/mongo/util/time_support.cpp +++ b/src/mongo/util/time_support.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h index 484797cdedd..89ddd137c15 100644 --- a/src/mongo/util/time_support.h +++ b/src/mongo/util/time_support.h @@ -1,6 +1,3 @@ -// @file time_support.h - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/time_support_test.cpp b/src/mongo/util/time_support_test.cpp index 6f2de1faf9d..c69c3d1c10f 100644 --- a/src/mongo/util/time_support_test.cpp +++ b/src/mongo/util/time_support_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/timer.cpp b/src/mongo/util/timer.cpp index 6fa41d60fe1..f69bfc4cbb8 100644 --- a/src/mongo/util/timer.cpp +++ b/src/mongo/util/timer.cpp @@ -1,6 +1,3 @@ -// @file mongo/util/timer.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/timer.h b/src/mongo/util/timer.h index 9857823d7f8..9c684585460 100644 --- a/src/mongo/util/timer.h +++ b/src/mongo/util/timer.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/transitional_tools_do_not_use/vector_spooling.h b/src/mongo/util/transitional_tools_do_not_use/vector_spooling.h index 85303ba7f22..ec2dfddb6a2 100644 --- a/src/mongo/util/transitional_tools_do_not_use/vector_spooling.h +++ b/src/mongo/util/transitional_tools_do_not_use/vector_spooling.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/unique_function_test.cpp b/src/mongo/util/unique_function_test.cpp index 1919de5fa9d..930de9f71a2 100644 --- a/src/mongo/util/unique_function_test.cpp +++ b/src/mongo/util/unique_function_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/unowned_ptr.h b/src/mongo/util/unowned_ptr.h index 6545c0b9d72..b9baee9536a 100644 --- a/src/mongo/util/unowned_ptr.h +++ b/src/mongo/util/unowned_ptr.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/unowned_ptr_test.cpp b/src/mongo/util/unowned_ptr_test.cpp index 819f3265ed3..ac1bf86067f 100644 --- a/src/mongo/util/unowned_ptr_test.cpp +++ b/src/mongo/util/unowned_ptr_test.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/uuid.cpp b/src/mongo/util/uuid.cpp index 4f243c99401..24f53375adb 100644 --- a/src/mongo/util/uuid.cpp +++ b/src/mongo/util/uuid.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/uuid.h b/src/mongo/util/uuid.h index aeda9b38a31..ccf569cc06f 100644 --- a/src/mongo/util/uuid.h +++ b/src/mongo/util/uuid.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp index b8cbde07a29..a35621fca3d 100644 --- a/src/mongo/util/version.cpp +++ b/src/mongo/util/version.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/version.h b/src/mongo/util/version.h index 1e62ebb27f0..4a587e65e5d 100644 --- a/src/mongo/util/version.h +++ b/src/mongo/util/version.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/version_impl.cpp b/src/mongo/util/version_impl.cpp index 56a2d495da4..cfd68435489 100644 --- a/src/mongo/util/version_impl.cpp +++ b/src/mongo/util/version_impl.cpp @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/waitable.h b/src/mongo/util/waitable.h index 9ae8c079439..307639ae14e 100644 --- a/src/mongo/util/waitable.h +++ b/src/mongo/util/waitable.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/winutil.cpp b/src/mongo/util/winutil.cpp index 5969161ad15..228b1b650f5 100644 --- a/src/mongo/util/winutil.cpp +++ b/src/mongo/util/winutil.cpp @@ -1,6 +1,3 @@ -// winutil.cpp - - /** * Copyright (C) 2018-present MongoDB, Inc. * diff --git a/src/mongo/util/winutil.h b/src/mongo/util/winutil.h index 638a0430168..bab5d8256a7 100644 --- a/src/mongo/util/winutil.h +++ b/src/mongo/util/winutil.h @@ -1,6 +1,3 @@ -// @file winutil.cpp : Windows related utility functions -// -// /** * Copyright (C) 2018-present MongoDB, Inc. * @@ -29,10 +26,13 @@ * exception statement from all source files in the program, then also delete * it in the license file. */ -// #pragma once +/** + * Windows related utility functions + */ + #if defined(_WIN32) #include "text.h" #include <atlbase.h> diff --git a/src/mongo/util/with_alignment.h b/src/mongo/util/with_alignment.h index 7b6dc163b3a..8d207d94687 100644 --- a/src/mongo/util/with_alignment.h +++ b/src/mongo/util/with_alignment.h @@ -1,4 +1,3 @@ - /** * Copyright (C) 2018-present MongoDB, Inc. * |