Skip to content

Commit 1a67b39

Browse files
committed
Add license
1 parent cc6f8cd commit 1a67b39

File tree

4 files changed

+56
-28
lines changed

4 files changed

+56
-28
lines changed

test/unit/caching/BUILD

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,24 @@
1+
# Copyright 2023 Ericsson AB
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
# cc_binary for simple C++ tests
216
load(
317
"@rules_cc//cc:defs.bzl",
418
"cc_binary",
519
"cc_library",
620
)
721

8-
# compile_commands rule
9-
load(
10-
"@bazel_codechecker//src:compile_commands.bzl",
11-
"compile_commands",
12-
)
13-
14-
# codechecker rules
15-
load(
16-
"@bazel_codechecker//src:codechecker.bzl",
17-
"codechecker",
18-
"codechecker_config",
19-
"codechecker_suite",
20-
"codechecker_test",
21-
)
22-
23-
# clang-tidy and clang -analyze rules
24-
load(
25-
"@bazel_codechecker//src:clang.bzl",
26-
"clang_analyze_test",
27-
"clang_tidy_test",
28-
)
29-
30-
# clang -analyze + CTU rule
31-
load(
32-
"@bazel_codechecker//src:clang_ctu.bzl",
33-
"clang_ctu_test",
34-
)
35-
3622
# Prototype for CodeChecker analyze --file
3723
# NOTE: CodeChecker analyze --file --ctu does not work
3824
load(

test/unit/caching/linking.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2023 Ericsson AB
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#ifndef LINKING_H
216
#define LINKING_H
317
int foo();

test/unit/caching/primary.cc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2023 Ericsson AB
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#include "linking.h"
216

317
int main(){

test/unit/caching/secondary.cc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2023 Ericsson AB
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#include "linking.h"
216

317
int foo(){

0 commit comments

Comments
 (0)