Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure all source files have correct headers and copyright #794

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions src/binder/bind_create.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bind_create.cpp
//
// Identification: src/binder/bind_create.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
// Copyright 2018-2022 Stichting DuckDB Foundation
//
Expand Down
12 changes: 12 additions & 0 deletions src/binder/bind_insert.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bind_insert.cpp
//
// Identification: src/binder/bind_insert.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include <iterator>
#include <memory>
#include <optional>
Expand Down
12 changes: 12 additions & 0 deletions src/binder/bind_select.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bind_select.cpp
//
// Identification: src/binder/bind_select.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include <algorithm>
#include <iterator>
#include <memory>
Expand Down
11 changes: 11 additions & 0 deletions src/binder/bind_variable.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bind_variable.cpp
//
// Identification: src/binder/bind_variable.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include <memory>
#include "binder/binder.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/binder.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// binder.cpp
//
// Identification: src/binder/binder.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
// Copyright 2018-2022 Stichting DuckDB Foundation
//
Expand Down
12 changes: 12 additions & 0 deletions src/binder/bound_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bound_statement.cpp
//
// Identification: src/binder/bound_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "binder/bound_statement.h"

namespace bustub {
Expand Down
12 changes: 12 additions & 0 deletions src/binder/fmt_impl.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// fmt_impl.cpp
//
// Identification: src/binder/fmt_impl.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "binder/binder.h"
#include "binder/bound_expression.h"
#include "binder/bound_order_by.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/keyword_helper.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// keyword_helper.cpp
//
// Identification: src/binder/keyword_helper.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
// Copyright 2018-2022 Stichting DuckDB Foundation
//
Expand Down
12 changes: 12 additions & 0 deletions src/binder/node_tag_to_string.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// node_tag_to_string.cpp
//
// Identification: src/binder/node_tag_to_string.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
// Copyright 2018-2022 Stichting DuckDB Foundation
//
Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/create_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// create_statement.cpp
//
// Identification: src/binder/statement/create_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "catalog/column.h"
#include "fmt/ranges.h"

Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/delete_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// delete_statement.cpp
//
// Identification: src/binder/statement/delete_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "binder/statement/delete_statement.h"
#include "fmt/core.h"

Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/explain_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// explain_statement.cpp
//
// Identification: src/binder/statement/explain_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "binder/statement/explain_statement.h"
#include "fmt/ranges.h"

Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/index_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// index_statement.cpp
//
// Identification: src/binder/statement/index_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "binder/statement/index_statement.h"
#include "binder/bound_expression.h"
#include "binder/expressions/bound_column_ref.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/insert_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// insert_statement.cpp
//
// Identification: src/binder/statement/insert_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "fmt/ranges.h"

#include "binder/bound_expression.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/select_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// select_statement.cpp
//
// Identification: src/binder/statement/select_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include <memory>

#include "binder/bound_order_by.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/statement/update_statement.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// update_statement.cpp
//
// Identification: src/binder/statement/update_statement.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "fmt/ranges.h"

#include "binder/statement/update_statement.h"
Expand Down
12 changes: 12 additions & 0 deletions src/binder/transformer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// transformer.cpp
//
// Identification: src/binder/transformer.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
// Copyright 2018-2022 Stichting DuckDB Foundation
//
Expand Down
2 changes: 1 addition & 1 deletion src/buffer/buffer_pool_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/buffer/buffer_pool_manager.cpp
//
// Copyright (c) 2015-2024, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/buffer/clock_replacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/buffer/clock_replacer.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/buffer/lru_k_replacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/buffer/lru_k_replacer.cpp
//
// Copyright (c) 2015-2022, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/buffer/lru_replacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/buffer/lru_replacer.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/catalog/column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/catalog/column.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/catalog/schema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/catalog/schema.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
12 changes: 12 additions & 0 deletions src/catalog/table_generator.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// table_generator.cpp
//
// Identification: src/catalog/table_generator.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include "catalog/table_generator.h"

#include <algorithm>
Expand Down
12 changes: 12 additions & 0 deletions src/common/bustub_ddl.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bustub_ddl.cpp
//
// Identification: src/common/bustub_ddl.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

// DDL (Data Definition Language) statement handling in BusTub, including create table, create index, and set/show
// variable.

Expand Down
12 changes: 12 additions & 0 deletions src/common/bustub_instance.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// BusTub
//
// bustub_instance.cpp
//
// Identification: src/common/bustub_instance.cpp
//
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

#include <memory>
#include <optional>
#include <shared_mutex>
Expand Down
2 changes: 1 addition & 1 deletion src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/common/config.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/common/util/string_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/common/util/string_util.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion src/concurrency/lock_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Identification: src/concurrency/lock_manager.cpp
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
// Copyright (c) 2015-2025, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//

Expand Down
Loading
Loading