Skip to content

Commit

Permalink
update copyright years
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianschuiki committed Mar 31, 2020
1 parent 5dd90fa commit 6ab7d83
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 44 deletions.
3 changes: 1 addition & 2 deletions scripts/check-copyrights.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#
# check-copyrights.sh | patch -p0

ROOT=$(cd $(dirname ${BASH_SOURCE[0]})/.. && pwd)
YEAR=$(date +%Y)
for FILE in $(find $ROOT/src -name "*.rs"); do
for FILE in $(find src -name "*.rs"); do
sed -E "s/(Copyright \(c\) )[0-9]+(-[0-9]+)?/\12017-$YEAR/g" $FILE | diff -u $FILE -
done
2 changes: 1 addition & 1 deletion src/assembly/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Facilities to emit a module as human-readable assembly, or to parse such
//! assembly back into a module.
Expand Down
2 changes: 1 addition & 1 deletion src/assembly/reader.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Temporary representation of LLHD IR after parsing.
Expand Down
2 changes: 1 addition & 1 deletion src/assembly/writer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Emitting LLHD IR assembly.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/llhd-check.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

#[macro_use]
extern crate clap;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/llhd-conv/liberty.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Lexer and parser for Liberty files.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/llhd-conv/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

#[macro_use]
extern crate clap;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/llhd-opt.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

#[macro_use]
extern crate clap;
Expand Down
2 changes: 1 addition & 1 deletion src/ir/cfg.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of the control flow in a `Function` or `Process`.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ir/dfg.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of the data flow in a `Function`, `Process`, or `Entity`.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ir/entity.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of LLHD processes.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/function.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of LLHD functions.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/inst.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of LLHD instructions.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ir/layout.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Instruction and BB ordering.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of LLHD functions, processes, and entitites.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ir/module.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of linked LLHD units.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ir/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Re-exports of commonly used IR items.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/process.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of LLHD processes.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/sig.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Representation of the input and output arguments of functions, processes,
//! and entitites.
Expand Down
2 changes: 1 addition & 1 deletion src/ir/unit.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Common functionality of `Function`, `Process`, and `Entity`.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! The Low Level Hardware Description language. This library provides tools to
//! create, modify, store, and load LLHD graphs.
Expand Down
2 changes: 1 addition & 1 deletion src/opt/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Optimization infrastructure.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/opt/pass.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

use crate::ir::prelude::*;
use crate::ir::ModUnitData;
Expand Down
2 changes: 1 addition & 1 deletion src/pass/cf.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Constant Folding
Expand Down
2 changes: 1 addition & 1 deletion src/pass/cfs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Control Flow Simplification
Expand Down
2 changes: 1 addition & 1 deletion src/pass/dce.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Dead Code Elimination
Expand Down
2 changes: 1 addition & 1 deletion src/pass/deseq.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Desequentialization
Expand Down
2 changes: 1 addition & 1 deletion src/pass/gcse.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Global Common Subexpression Elimination
Expand Down
2 changes: 1 addition & 1 deletion src/pass/insim.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Instruction Simplification
Expand Down
2 changes: 1 addition & 1 deletion src/pass/licm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Loop Independent Code Motion
Expand Down
2 changes: 1 addition & 1 deletion src/pass/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Optimization and analysis passes on LLHD IR.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/pass/proclower.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Process Lowering
Expand Down
2 changes: 1 addition & 1 deletion src/pass/tcm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Temporal Code Motion
Expand Down
2 changes: 1 addition & 1 deletion src/pass/vtpp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Var to Phi Promotion
Expand Down
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Primary and secondary tables.
//!
Expand Down
2 changes: 1 addition & 1 deletion src/ty.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Types of values.
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Various utility functions that fit nowhere else.
Expand Down
2 changes: 1 addition & 1 deletion src/value/array.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Array values
//!
Expand Down
2 changes: 1 addition & 1 deletion src/value/int.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Integer values
//!
Expand Down
2 changes: 1 addition & 1 deletion src/value/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Value computation
//!
Expand Down
2 changes: 1 addition & 1 deletion src/value/struct.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Struct values
//!
Expand Down
2 changes: 1 addition & 1 deletion src/value/time.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Time values
//!
Expand Down
2 changes: 1 addition & 1 deletion src/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2019 Fabian Schuiki
// Copyright (c) 2017-2020 Fabian Schuiki

//! Verification of IR integrity.
//!
Expand Down

0 comments on commit 6ab7d83

Please sign in to comment.