Skip to content

Commit f97256b

Browse files
committed
ensure headers and copyright of source files (#794)
1 parent a54bd23 commit f97256b

File tree

366 files changed

+1957
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

366 files changed

+1957
-292
lines changed

src/binder/bind_create.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bind_create.cpp
6+
//
7+
// Identification: src/binder/bind_create.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
//===----------------------------------------------------------------------===//
214
// Copyright 2018-2022 Stichting DuckDB Foundation
315
//

src/binder/bind_insert.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bind_insert.cpp
6+
//
7+
// Identification: src/binder/bind_insert.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include <iterator>
214
#include <memory>
315
#include <optional>

src/binder/bind_select.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bind_select.cpp
6+
//
7+
// Identification: src/binder/bind_select.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include <algorithm>
214
#include <iterator>
315
#include <memory>

src/binder/bind_variable.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bind_variable.cpp
6+
//
7+
// Identification: src/binder/bind_variable.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
112

213
#include <memory>
314
#include "binder/binder.h"

src/binder/binder.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// binder.cpp
6+
//
7+
// Identification: src/binder/binder.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
//===----------------------------------------------------------------------===//
214
// Copyright 2018-2022 Stichting DuckDB Foundation
315
//

src/binder/bound_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bound_statement.cpp
6+
//
7+
// Identification: src/binder/bound_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "binder/bound_statement.h"
214

315
namespace bustub {

src/binder/fmt_impl.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// fmt_impl.cpp
6+
//
7+
// Identification: src/binder/fmt_impl.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "binder/binder.h"
214
#include "binder/bound_expression.h"
315
#include "binder/bound_order_by.h"

src/binder/keyword_helper.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// keyword_helper.cpp
6+
//
7+
// Identification: src/binder/keyword_helper.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
//===----------------------------------------------------------------------===//
214
// Copyright 2018-2022 Stichting DuckDB Foundation
315
//

src/binder/node_tag_to_string.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// node_tag_to_string.cpp
6+
//
7+
// Identification: src/binder/node_tag_to_string.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
//===----------------------------------------------------------------------===//
214
// Copyright 2018-2022 Stichting DuckDB Foundation
315
//

src/binder/statement/create_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// create_statement.cpp
6+
//
7+
// Identification: src/binder/statement/create_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "catalog/column.h"
214
#include "fmt/ranges.h"
315

src/binder/statement/delete_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// delete_statement.cpp
6+
//
7+
// Identification: src/binder/statement/delete_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "binder/statement/delete_statement.h"
214
#include "fmt/core.h"
315

src/binder/statement/explain_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// explain_statement.cpp
6+
//
7+
// Identification: src/binder/statement/explain_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "binder/statement/explain_statement.h"
214
#include "fmt/ranges.h"
315

src/binder/statement/index_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// index_statement.cpp
6+
//
7+
// Identification: src/binder/statement/index_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "binder/statement/index_statement.h"
214
#include "binder/bound_expression.h"
315
#include "binder/expressions/bound_column_ref.h"

src/binder/statement/insert_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// insert_statement.cpp
6+
//
7+
// Identification: src/binder/statement/insert_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "fmt/ranges.h"
214

315
#include "binder/bound_expression.h"

src/binder/statement/select_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// select_statement.cpp
6+
//
7+
// Identification: src/binder/statement/select_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include <memory>
214

315
#include "binder/bound_order_by.h"

src/binder/statement/update_statement.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// update_statement.cpp
6+
//
7+
// Identification: src/binder/statement/update_statement.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "fmt/ranges.h"
214

315
#include "binder/statement/update_statement.h"

src/binder/transformer.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// transformer.cpp
6+
//
7+
// Identification: src/binder/transformer.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
//===----------------------------------------------------------------------===//
214
// Copyright 2018-2022 Stichting DuckDB Foundation
315
//

src/buffer/buffer_pool_manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/buffer/buffer_pool_manager.cpp
88
//
9-
// Copyright (c) 2015-2024, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/buffer/clock_replacer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/buffer/clock_replacer.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/buffer/lru_k_replacer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/buffer/lru_k_replacer.cpp
88
//
9-
// Copyright (c) 2015-2022, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/buffer/lru_replacer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/buffer/lru_replacer.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/catalog/column.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/catalog/column.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/catalog/schema.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/catalog/schema.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/catalog/table_generator.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// table_generator.cpp
6+
//
7+
// Identification: src/catalog/table_generator.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "catalog/table_generator.h"
214

315
#include <algorithm>

src/common/bustub_ddl.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bustub_ddl.cpp
6+
//
7+
// Identification: src/common/bustub_ddl.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
// DDL (Data Definition Language) statement handling in BusTub, including create table, create index, and set/show
214
// variable.
315

src/common/bustub_instance.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// BusTub
4+
//
5+
// bustub_instance.cpp
6+
//
7+
// Identification: src/common/bustub_instance.cpp
8+
//
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include <memory>
214
#include <optional>
315
#include <shared_mutex>

src/common/config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/common/config.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/common/util/string_util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/common/util/string_util.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

src/concurrency/lock_manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Identification: src/concurrency/lock_manager.cpp
88
//
9-
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
9+
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
1010
//
1111
//===----------------------------------------------------------------------===//
1212

0 commit comments

Comments
 (0)