summaryrefslogtreecommitdiff
path: root/src/mongo/bson
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-02-13 14:07:04 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2019-02-13 15:26:10 -0500
commitb21647a5e19e5980186e57f77be0b1e0ef92a087 (patch)
tree007f8d67bedc94aa97e8b745887134f1304eacf3 /src/mongo/bson
parenta5388bd274e0df770457122dc3cef704e60c25ae (diff)
downloadmongo-b21647a5e19e5980186e57f77be0b1e0ef92a087.tar.gz
SERVER-39560 - remove leading blank line on all C++ files
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
Diffstat (limited to 'src/mongo/bson')
-rw-r--r--src/mongo/bson/bson_comparator_interface_base.cpp1
-rw-r--r--src/mongo/bson/bson_comparator_interface_base.h1
-rw-r--r--src/mongo/bson/bson_depth.cpp1
-rw-r--r--src/mongo/bson/bson_depth.h1
-rw-r--r--src/mongo/bson/bson_field.h1
-rw-r--r--src/mongo/bson/bson_field_test.cpp1
-rw-r--r--src/mongo/bson/bson_obj_data_type_test.cpp1
-rw-r--r--src/mongo/bson/bson_obj_test.cpp1
-rw-r--r--src/mongo/bson/bson_validate.cpp3
-rw-r--r--src/mongo/bson/bson_validate.h3
-rw-r--r--src/mongo/bson/bson_validate_test.cpp1
-rw-r--r--src/mongo/bson/bsonelement.cpp1
-rw-r--r--src/mongo/bson/bsonelement.h3
-rw-r--r--src/mongo/bson/bsonelement_comparator.h1
-rw-r--r--src/mongo/bson/bsonelement_comparator_interface.h1
-rw-r--r--src/mongo/bson/bsonelement_test.cpp1
-rw-r--r--src/mongo/bson/bsonmisc.cpp1
-rw-r--r--src/mongo/bson/bsonmisc.h3
-rw-r--r--src/mongo/bson/bsonobj.cpp1
-rw-r--r--src/mongo/bson/bsonobj.h3
-rw-r--r--src/mongo/bson/bsonobj_comparator.h1
-rw-r--r--src/mongo/bson/bsonobj_comparator_interface.h1
-rw-r--r--src/mongo/bson/bsonobjbuilder.cpp1
-rw-r--r--src/mongo/bson/bsonobjbuilder.h14
-rw-r--r--src/mongo/bson/bsonobjbuilder_bm.cpp1
-rw-r--r--src/mongo/bson/bsonobjbuilder_test.cpp1
-rw-r--r--src/mongo/bson/bsontypes.cpp1
-rw-r--r--src/mongo/bson/bsontypes.h3
-rw-r--r--src/mongo/bson/inline_decls.h3
-rw-r--r--src/mongo/bson/json.cpp1
-rw-r--r--src/mongo/bson/json.h1
-rw-r--r--src/mongo/bson/mutable/algorithm.h1
-rw-r--r--src/mongo/bson/mutable/const_element-inl.h1
-rw-r--r--src/mongo/bson/mutable/const_element.h1
-rw-r--r--src/mongo/bson/mutable/damage_vector.h1
-rw-r--r--src/mongo/bson/mutable/document-inl.h1
-rw-r--r--src/mongo/bson/mutable/document.cpp1
-rw-r--r--src/mongo/bson/mutable/document.h1
-rw-r--r--src/mongo/bson/mutable/element-inl.h1
-rw-r--r--src/mongo/bson/mutable/element.cpp1
-rw-r--r--src/mongo/bson/mutable/element.h1
-rw-r--r--src/mongo/bson/mutable/mutable_bson_algo_test.cpp1
-rw-r--r--src/mongo/bson/mutable/mutable_bson_test.cpp1
-rw-r--r--src/mongo/bson/mutable/mutable_bson_test_utils.cpp1
-rw-r--r--src/mongo/bson/mutable/mutable_bson_test_utils.h1
-rw-r--r--src/mongo/bson/oid.cpp3
-rw-r--r--src/mongo/bson/oid.h3
-rw-r--r--src/mongo/bson/oid_test.cpp1
-rw-r--r--src/mongo/bson/ordering.h3
-rw-r--r--src/mongo/bson/simple_bsonelement_comparator.cpp1
-rw-r--r--src/mongo/bson/simple_bsonelement_comparator.h1
-rw-r--r--src/mongo/bson/simple_bsonobj_comparator.cpp1
-rw-r--r--src/mongo/bson/simple_bsonobj_comparator.h1
-rw-r--r--src/mongo/bson/simple_bsonobj_comparator_test.cpp1
-rw-r--r--src/mongo/bson/timestamp.cpp1
-rw-r--r--src/mongo/bson/timestamp.h1
-rw-r--r--src/mongo/bson/ugly_bson_integration_test.cpp1
-rw-r--r--src/mongo/bson/unordered_fields_bsonelement_comparator.h1
-rw-r--r--src/mongo/bson/unordered_fields_bsonobj_comparator.h1
-rw-r--r--src/mongo/bson/util/bson_check.h1
-rw-r--r--src/mongo/bson/util/bson_check_test.cpp1
-rw-r--r--src/mongo/bson/util/bson_extract.cpp1
-rw-r--r--src/mongo/bson/util/bson_extract.h1
-rw-r--r--src/mongo/bson/util/bson_extract_test.cpp1
-rw-r--r--src/mongo/bson/util/builder.h3
-rw-r--r--src/mongo/bson/util/builder_test.cpp3
66 files changed, 6 insertions, 97 deletions
diff --git a/src/mongo/bson/bson_comparator_interface_base.cpp b/src/mongo/bson/bson_comparator_interface_base.cpp
index b9f14231a94..96aaf1575a7 100644
--- a/src/mongo/bson/bson_comparator_interface_base.cpp
+++ b/src/mongo/bson/bson_comparator_interface_base.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_comparator_interface_base.h b/src/mongo/bson/bson_comparator_interface_base.h
index 494e4498b11..f9f11e290e9 100644
--- a/src/mongo/bson/bson_comparator_interface_base.h
+++ b/src/mongo/bson/bson_comparator_interface_base.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_depth.cpp b/src/mongo/bson/bson_depth.cpp
index 69aee3c7887..94277fba3f6 100644
--- a/src/mongo/bson/bson_depth.cpp
+++ b/src/mongo/bson/bson_depth.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_depth.h b/src/mongo/bson/bson_depth.h
index f57a87e6134..371b7d11afa 100644
--- a/src/mongo/bson/bson_depth.h
+++ b/src/mongo/bson/bson_depth.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_field.h b/src/mongo/bson/bson_field.h
index 9d8d2b8f4a6..dd8a9e2ffd0 100644
--- a/src/mongo/bson/bson_field.h
+++ b/src/mongo/bson/bson_field.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_field_test.cpp b/src/mongo/bson/bson_field_test.cpp
index 8f25142cf0c..523dbc27a3e 100644
--- a/src/mongo/bson/bson_field_test.cpp
+++ b/src/mongo/bson/bson_field_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_obj_data_type_test.cpp b/src/mongo/bson/bson_obj_data_type_test.cpp
index e345ca0ae66..e69d4bf3a6a 100644
--- a/src/mongo/bson/bson_obj_data_type_test.cpp
+++ b/src/mongo/bson/bson_obj_data_type_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_obj_test.cpp b/src/mongo/bson/bson_obj_test.cpp
index 1a1781e0b03..a061d67f67b 100644
--- a/src/mongo/bson/bson_obj_test.cpp
+++ b/src/mongo/bson/bson_obj_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_validate.cpp b/src/mongo/bson/bson_validate.cpp
index 7c1906da8e8..58ca1e36b04 100644
--- a/src/mongo/bson/bson_validate.cpp
+++ b/src/mongo/bson/bson_validate.cpp
@@ -1,6 +1,3 @@
-// bson_validate.cpp
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_validate.h b/src/mongo/bson/bson_validate.h
index 875266b6a41..13892ff80ab 100644
--- a/src/mongo/bson/bson_validate.h
+++ b/src/mongo/bson/bson_validate.h
@@ -1,6 +1,3 @@
-// bson_Validate.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bson_validate_test.cpp b/src/mongo/bson/bson_validate_test.cpp
index 5b6e6c4a3c3..2c3a9b0d07b 100644
--- a/src/mongo/bson/bson_validate_test.cpp
+++ b/src/mongo/bson/bson_validate_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonelement.cpp b/src/mongo/bson/bsonelement.cpp
index b87de5f5d26..35ad1e76391 100644
--- a/src/mongo/bson/bsonelement.cpp
+++ b/src/mongo/bson/bsonelement.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonelement.h b/src/mongo/bson/bsonelement.h
index 31556488d59..e9e19fd0584 100644
--- a/src/mongo/bson/bsonelement.h
+++ b/src/mongo/bson/bsonelement.h
@@ -1,6 +1,3 @@
-// bsonelement.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonelement_comparator.h b/src/mongo/bson/bsonelement_comparator.h
index 331dc60a2cc..da2bf65052a 100644
--- a/src/mongo/bson/bsonelement_comparator.h
+++ b/src/mongo/bson/bsonelement_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonelement_comparator_interface.h b/src/mongo/bson/bsonelement_comparator_interface.h
index 2a94ee7afe5..c376e36230f 100644
--- a/src/mongo/bson/bsonelement_comparator_interface.h
+++ b/src/mongo/bson/bsonelement_comparator_interface.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonelement_test.cpp b/src/mongo/bson/bsonelement_test.cpp
index 26faacc8c86..27f51039245 100644
--- a/src/mongo/bson/bsonelement_test.cpp
+++ b/src/mongo/bson/bsonelement_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonmisc.cpp b/src/mongo/bson/bsonmisc.cpp
index 33593383712..528dfaf2957 100644
--- a/src/mongo/bson/bsonmisc.cpp
+++ b/src/mongo/bson/bsonmisc.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonmisc.h b/src/mongo/bson/bsonmisc.h
index a76bf189d23..db047dd8d2d 100644
--- a/src/mongo/bson/bsonmisc.h
+++ b/src/mongo/bson/bsonmisc.h
@@ -1,6 +1,3 @@
-// @file bsonmisc.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobj.cpp b/src/mongo/bson/bsonobj.cpp
index c811c7a6753..71efba1a385 100644
--- a/src/mongo/bson/bsonobj.cpp
+++ b/src/mongo/bson/bsonobj.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobj.h b/src/mongo/bson/bsonobj.h
index 4cd74a1de50..2bbe2e2d05b 100644
--- a/src/mongo/bson/bsonobj.h
+++ b/src/mongo/bson/bsonobj.h
@@ -1,6 +1,3 @@
-// @file bsonobj.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobj_comparator.h b/src/mongo/bson/bsonobj_comparator.h
index 35adf725cb8..4ec54c2d4e0 100644
--- a/src/mongo/bson/bsonobj_comparator.h
+++ b/src/mongo/bson/bsonobj_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobj_comparator_interface.h b/src/mongo/bson/bsonobj_comparator_interface.h
index 4fd82be2910..3b7bea8e30d 100644
--- a/src/mongo/bson/bsonobj_comparator_interface.h
+++ b/src/mongo/bson/bsonobj_comparator_interface.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobjbuilder.cpp b/src/mongo/bson/bsonobjbuilder.cpp
index 0b3438363e1..cd928af0f9f 100644
--- a/src/mongo/bson/bsonobjbuilder.cpp
+++ b/src/mongo/bson/bsonobjbuilder.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobjbuilder.h b/src/mongo/bson/bsonobjbuilder.h
index 4958f9aff3c..9be6eab6987 100644
--- a/src/mongo/bson/bsonobjbuilder.h
+++ b/src/mongo/bson/bsonobjbuilder.h
@@ -1,11 +1,3 @@
-/* bsonobjbuilder.h
-
- Classes in this file:
- BSONObjBuilder
- BSONArrayBuilder
-*/
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
@@ -37,6 +29,12 @@
#pragma once
+/**
+ * Classes in this file:
+ * BSONObjBuilder
+ * BSONArrayBuilder
+ */
+
#include <cmath>
#include <cstdint>
#include <limits>
diff --git a/src/mongo/bson/bsonobjbuilder_bm.cpp b/src/mongo/bson/bsonobjbuilder_bm.cpp
index c617b039f14..ca344e9ddb6 100644
--- a/src/mongo/bson/bsonobjbuilder_bm.cpp
+++ b/src/mongo/bson/bsonobjbuilder_bm.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsonobjbuilder_test.cpp b/src/mongo/bson/bsonobjbuilder_test.cpp
index f4240d5e223..e174a337a27 100644
--- a/src/mongo/bson/bsonobjbuilder_test.cpp
+++ b/src/mongo/bson/bsonobjbuilder_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsontypes.cpp b/src/mongo/bson/bsontypes.cpp
index c319ccd5099..817dcee9ecf 100644
--- a/src/mongo/bson/bsontypes.cpp
+++ b/src/mongo/bson/bsontypes.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/bsontypes.h b/src/mongo/bson/bsontypes.h
index 9f0f1991fcb..b77a536742b 100644
--- a/src/mongo/bson/bsontypes.h
+++ b/src/mongo/bson/bsontypes.h
@@ -1,6 +1,3 @@
-// bsontypes.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/inline_decls.h b/src/mongo/bson/inline_decls.h
index 367034ab19f..848050bf404 100644
--- a/src/mongo/bson/inline_decls.h
+++ b/src/mongo/bson/inline_decls.h
@@ -1,6 +1,3 @@
-// inline_decls.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/json.cpp b/src/mongo/bson/json.cpp
index 34db3213d2d..3fff510f25c 100644
--- a/src/mongo/bson/json.cpp
+++ b/src/mongo/bson/json.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/json.h b/src/mongo/bson/json.h
index 6fb984d0e14..38217fb7eef 100644
--- a/src/mongo/bson/json.h
+++ b/src/mongo/bson/json.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/algorithm.h b/src/mongo/bson/mutable/algorithm.h
index 73aecc14e35..53cedd6100c 100644
--- a/src/mongo/bson/mutable/algorithm.h
+++ b/src/mongo/bson/mutable/algorithm.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/const_element-inl.h b/src/mongo/bson/mutable/const_element-inl.h
index 35b9f74ccc1..2570746f9d7 100644
--- a/src/mongo/bson/mutable/const_element-inl.h
+++ b/src/mongo/bson/mutable/const_element-inl.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/const_element.h b/src/mongo/bson/mutable/const_element.h
index 902ea7b772b..2035113866b 100644
--- a/src/mongo/bson/mutable/const_element.h
+++ b/src/mongo/bson/mutable/const_element.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/damage_vector.h b/src/mongo/bson/mutable/damage_vector.h
index bbe252c5efa..8122a7c5592 100644
--- a/src/mongo/bson/mutable/damage_vector.h
+++ b/src/mongo/bson/mutable/damage_vector.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/document-inl.h b/src/mongo/bson/mutable/document-inl.h
index 91b032c8af1..1ab491b5362 100644
--- a/src/mongo/bson/mutable/document-inl.h
+++ b/src/mongo/bson/mutable/document-inl.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/document.cpp b/src/mongo/bson/mutable/document.cpp
index eafac7de134..aae9eddbe8b 100644
--- a/src/mongo/bson/mutable/document.cpp
+++ b/src/mongo/bson/mutable/document.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/document.h b/src/mongo/bson/mutable/document.h
index efa10e1d681..0828674b053 100644
--- a/src/mongo/bson/mutable/document.h
+++ b/src/mongo/bson/mutable/document.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/element-inl.h b/src/mongo/bson/mutable/element-inl.h
index 6949437176d..6f413399dd7 100644
--- a/src/mongo/bson/mutable/element-inl.h
+++ b/src/mongo/bson/mutable/element-inl.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/element.cpp b/src/mongo/bson/mutable/element.cpp
index 8d08e99d2bf..6fe87790337 100644
--- a/src/mongo/bson/mutable/element.cpp
+++ b/src/mongo/bson/mutable/element.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/element.h b/src/mongo/bson/mutable/element.h
index 25d286e500a..207dd1ae111 100644
--- a/src/mongo/bson/mutable/element.h
+++ b/src/mongo/bson/mutable/element.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/mutable_bson_algo_test.cpp b/src/mongo/bson/mutable/mutable_bson_algo_test.cpp
index 96fee59b378..20d26d83b67 100644
--- a/src/mongo/bson/mutable/mutable_bson_algo_test.cpp
+++ b/src/mongo/bson/mutable/mutable_bson_algo_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/mutable_bson_test.cpp b/src/mongo/bson/mutable/mutable_bson_test.cpp
index f3754f1e761..9489b914d04 100644
--- a/src/mongo/bson/mutable/mutable_bson_test.cpp
+++ b/src/mongo/bson/mutable/mutable_bson_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/mutable_bson_test_utils.cpp b/src/mongo/bson/mutable/mutable_bson_test_utils.cpp
index 6c332af92b5..337d9c42560 100644
--- a/src/mongo/bson/mutable/mutable_bson_test_utils.cpp
+++ b/src/mongo/bson/mutable/mutable_bson_test_utils.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/mutable/mutable_bson_test_utils.h b/src/mongo/bson/mutable/mutable_bson_test_utils.h
index 2e69cbe6d47..c7223131fd2 100644
--- a/src/mongo/bson/mutable/mutable_bson_test_utils.h
+++ b/src/mongo/bson/mutable/mutable_bson_test_utils.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/oid.cpp b/src/mongo/bson/oid.cpp
index b55f818b729..a4d2d901e61 100644
--- a/src/mongo/bson/oid.cpp
+++ b/src/mongo/bson/oid.cpp
@@ -1,6 +1,3 @@
-// @file oid.cpp
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/oid.h b/src/mongo/bson/oid.h
index 53ea3852db9..2c9da565fa1 100644
--- a/src/mongo/bson/oid.h
+++ b/src/mongo/bson/oid.h
@@ -1,6 +1,3 @@
-// oid.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/oid_test.cpp b/src/mongo/bson/oid_test.cpp
index 74d96cb6891..6faefa88dfa 100644
--- a/src/mongo/bson/oid_test.cpp
+++ b/src/mongo/bson/oid_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/ordering.h b/src/mongo/bson/ordering.h
index f38f9d5f186..fe8bf48533f 100644
--- a/src/mongo/bson/ordering.h
+++ b/src/mongo/bson/ordering.h
@@ -1,6 +1,3 @@
-// ordering.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/simple_bsonelement_comparator.cpp b/src/mongo/bson/simple_bsonelement_comparator.cpp
index bd1cd379faa..640db437b94 100644
--- a/src/mongo/bson/simple_bsonelement_comparator.cpp
+++ b/src/mongo/bson/simple_bsonelement_comparator.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/simple_bsonelement_comparator.h b/src/mongo/bson/simple_bsonelement_comparator.h
index 82129f39d99..e724f198722 100644
--- a/src/mongo/bson/simple_bsonelement_comparator.h
+++ b/src/mongo/bson/simple_bsonelement_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/simple_bsonobj_comparator.cpp b/src/mongo/bson/simple_bsonobj_comparator.cpp
index 79e55b0b7cb..39af07dcf77 100644
--- a/src/mongo/bson/simple_bsonobj_comparator.cpp
+++ b/src/mongo/bson/simple_bsonobj_comparator.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/simple_bsonobj_comparator.h b/src/mongo/bson/simple_bsonobj_comparator.h
index 24ef6ecfbdf..ed08cbdd939 100644
--- a/src/mongo/bson/simple_bsonobj_comparator.h
+++ b/src/mongo/bson/simple_bsonobj_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/simple_bsonobj_comparator_test.cpp b/src/mongo/bson/simple_bsonobj_comparator_test.cpp
index a6d9ab85631..b633fb0f236 100644
--- a/src/mongo/bson/simple_bsonobj_comparator_test.cpp
+++ b/src/mongo/bson/simple_bsonobj_comparator_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/timestamp.cpp b/src/mongo/bson/timestamp.cpp
index 0cdb4c4ba06..3f967766206 100644
--- a/src/mongo/bson/timestamp.cpp
+++ b/src/mongo/bson/timestamp.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/timestamp.h b/src/mongo/bson/timestamp.h
index 231f42e422d..a8e93b52349 100644
--- a/src/mongo/bson/timestamp.h
+++ b/src/mongo/bson/timestamp.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/ugly_bson_integration_test.cpp b/src/mongo/bson/ugly_bson_integration_test.cpp
index e40eaa3d96b..77a96a14400 100644
--- a/src/mongo/bson/ugly_bson_integration_test.cpp
+++ b/src/mongo/bson/ugly_bson_integration_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/unordered_fields_bsonelement_comparator.h b/src/mongo/bson/unordered_fields_bsonelement_comparator.h
index 1e0049860ba..f8f9c9c4561 100644
--- a/src/mongo/bson/unordered_fields_bsonelement_comparator.h
+++ b/src/mongo/bson/unordered_fields_bsonelement_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/unordered_fields_bsonobj_comparator.h b/src/mongo/bson/unordered_fields_bsonobj_comparator.h
index 532a748120c..690e3d293fb 100644
--- a/src/mongo/bson/unordered_fields_bsonobj_comparator.h
+++ b/src/mongo/bson/unordered_fields_bsonobj_comparator.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/bson_check.h b/src/mongo/bson/util/bson_check.h
index ba9407353cf..46656ea9802 100644
--- a/src/mongo/bson/util/bson_check.h
+++ b/src/mongo/bson/util/bson_check.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/bson_check_test.cpp b/src/mongo/bson/util/bson_check_test.cpp
index 955af664a21..f220ee1e0ca 100644
--- a/src/mongo/bson/util/bson_check_test.cpp
+++ b/src/mongo/bson/util/bson_check_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/bson_extract.cpp b/src/mongo/bson/util/bson_extract.cpp
index 296c8b88c41..6552db87ae2 100644
--- a/src/mongo/bson/util/bson_extract.cpp
+++ b/src/mongo/bson/util/bson_extract.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/bson_extract.h b/src/mongo/bson/util/bson_extract.h
index 33c0259fe92..4dad3473377 100644
--- a/src/mongo/bson/util/bson_extract.h
+++ b/src/mongo/bson/util/bson_extract.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/bson_extract_test.cpp b/src/mongo/bson/util/bson_extract_test.cpp
index 9dc4faed55a..c8d90a59d3c 100644
--- a/src/mongo/bson/util/bson_extract_test.cpp
+++ b/src/mongo/bson/util/bson_extract_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/builder.h b/src/mongo/bson/util/builder.h
index b316fee0683..b17b6d4752e 100644
--- a/src/mongo/bson/util/builder.h
+++ b/src/mongo/bson/util/builder.h
@@ -1,6 +1,3 @@
-/* builder.h */
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/bson/util/builder_test.cpp b/src/mongo/bson/util/builder_test.cpp
index 61638cf6dc1..2dc2662e29d 100644
--- a/src/mongo/bson/util/builder_test.cpp
+++ b/src/mongo/bson/util/builder_test.cpp
@@ -1,6 +1,3 @@
-// builder_test.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*