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

chore: polish copyright #1278

Merged
merged 1 commit into from
May 6, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

PROJECT_NAME = KCLVM

Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/abi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.
//! Reference: https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/lib.rs

#![allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/llvm/context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 The KCL Authors. All rights reserved.
// Copyright The KCL Authors. All rights reserved.

use indexmap::{IndexMap, IndexSet};
use inkwell::basic_block::BasicBlock;
Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/llvm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! module modules pass extern and declare keys. Declare and call them in words, and finally use clang to link
//! them together.
//!
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

mod backtrack;
mod context;
Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

use indexmap::IndexMap;
use kclvm_ast::ast;
Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/traits/backend.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

use std::fmt::Debug;

Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/traits/builder.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

use crate::codegen::abi::Align;

Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/traits/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

mod backend;
mod builder;
Expand Down
2 changes: 1 addition & 1 deletion kclvm/compiler/src/codegen/traits/type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

use crate::codegen::abi::AddressSpace;
use crate::codegen::{CONTEXT_TYPE_NAME, VALUE_TYPE_NAME};
Expand Down
2 changes: 1 addition & 1 deletion kclvm/runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gen-api-spec:

KCLVM_RUNTIME_GEN_API_SPEC= cargo build > ./src/_kclvm_api_spec.rs.tmp

echo "// Copyright 2023 The KCL Authors. All rights reserved.\n" > ./src/_kclvm_api_spec.rs
echo "// Copyright The KCL Authors. All rights reserved.\n" > ./src/_kclvm_api_spec.rs
echo "// Auto generated by <make gen-api-spec> command, DONOT EDIT!!!\n" >> ./src/_kclvm_api_spec.rs
cat ./src/_kclvm_api_spec.rs.tmp >> ./src/_kclvm_api_spec.rs
rm ./src/_kclvm_api_spec.rs.tmp
Expand Down
2 changes: 1 addition & 1 deletion kclvm/runtime/src/_kclvm_api_spec.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 The KCL Authors. All rights reserved.
// Copyright The KCL Authors. All rights reserved.

// Auto generated by <make gen-api-spec> command, DONOT EDIT!!!

Expand Down
2 changes: 1 addition & 1 deletion kclvm/runtime/src/manifests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! KCL manifests system module
//!
//! Copyright 2021 The KCL Authors. All rights reserved.
//! Copyright The KCL Authors. All rights reserved.

use crate::*;

Expand Down
2 changes: 1 addition & 1 deletion kclvm/runtime/src/value/val_from.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 The KCL Authors. All rights reserved.
// Copyright The KCL Authors. All rights reserved.

use crate::*;
use std::cell::RefCell;
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/base64/test_base64.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/crypto/test_crypto.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/datetime/test_datetime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/json/test_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/kclvm_runtime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import ctypes
import json
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/math/test_math.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import sys
import typing
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/net/test_net.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/regex/test_regex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/str/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

default:
python3 -m black .
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/str/test_str.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import sys
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/units/test_units.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tests/test_units/runtime/yaml/test_yaml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

import typing
import unittest
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM alpine:latest

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-alpine/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

PWD:=$(shell pwd)

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM centos:centos7

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-centos7/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

PWD:=$(shell pwd)

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-centos8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM centos:centos8

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-centos8/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

PWD:=$(shell pwd)

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder-fedora39/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM fedora:39

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM ubuntu:22.04

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl-builder/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

PWD:=$(shell pwd)

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/kcl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The KCL Authors. All rights reserved.
# Copyright The KCL Authors. All rights reserved.

FROM ubuntu:22.04

Expand Down
Loading