diff options
Diffstat (limited to 'tools/scan-build-py')
35 files changed, 104 insertions, 138 deletions
diff --git a/tools/scan-build-py/README.md b/tools/scan-build-py/README.md index 01e3454bed..0f89b6fa43 100644 --- a/tools/scan-build-py/README.md +++ b/tools/scan-build-py/README.md @@ -138,7 +138,7 @@ how to fix it, include that as well. Patches are also welcome. License ------- -The project is licensed under University of Illinois/NCSA Open Source License. +The project is licensed under Apache-2.0 with LLVM exceptions. See LICENSE.TXT for details. [1]: http://clang.llvm.org/docs/JSONCompilationDatabase.html diff --git a/tools/scan-build-py/bin/analyze-build b/tools/scan-build-py/bin/analyze-build index 991cff0658..6c285874a2 100755 --- a/tools/scan-build-py/bin/analyze-build +++ b/tools/scan-build-py/bin/analyze-build @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import multiprocessing multiprocessing.freeze_support() diff --git a/tools/scan-build-py/bin/analyze-c++ b/tools/scan-build-py/bin/analyze-c++ index df1012dee5..564e2abf55 100755 --- a/tools/scan-build-py/bin/analyze-c++ +++ b/tools/scan-build-py/bin/analyze-c++ @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import sys import os.path diff --git a/tools/scan-build-py/bin/analyze-cc b/tools/scan-build-py/bin/analyze-cc index df1012dee5..564e2abf55 100755 --- a/tools/scan-build-py/bin/analyze-cc +++ b/tools/scan-build-py/bin/analyze-cc @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import sys import os.path diff --git a/tools/scan-build-py/bin/intercept-build b/tools/scan-build-py/bin/intercept-build index 2c3a26ecdd..23f5104782 100755 --- a/tools/scan-build-py/bin/intercept-build +++ b/tools/scan-build-py/bin/intercept-build @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import multiprocessing multiprocessing.freeze_support() diff --git a/tools/scan-build-py/bin/intercept-c++ b/tools/scan-build-py/bin/intercept-c++ index 67e076f39e..4230c8035d 100755 --- a/tools/scan-build-py/bin/intercept-c++ +++ b/tools/scan-build-py/bin/intercept-c++ @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import sys import os.path diff --git a/tools/scan-build-py/bin/intercept-cc b/tools/scan-build-py/bin/intercept-cc index 67e076f39e..4230c8035d 100755 --- a/tools/scan-build-py/bin/intercept-cc +++ b/tools/scan-build-py/bin/intercept-cc @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import sys import os.path diff --git a/tools/scan-build-py/bin/scan-build b/tools/scan-build-py/bin/scan-build index f0f34695b0..156da064a2 100755 --- a/tools/scan-build-py/bin/scan-build +++ b/tools/scan-build-py/bin/scan-build @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import multiprocessing multiprocessing.freeze_support() diff --git a/tools/scan-build-py/libear/__init__.py b/tools/scan-build-py/libear/__init__.py index 421e2e74f0..0dfe8c11eb 100644 --- a/tools/scan-build-py/libear/__init__.py +++ b/tools/scan-build-py/libear/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module compiles the intercept library. """ import sys diff --git a/tools/scan-build-py/libear/config.h.in b/tools/scan-build-py/libear/config.h.in index 6643d8995c..6ca1b9580b 100644 --- a/tools/scan-build-py/libear/config.h.in +++ b/tools/scan-build-py/libear/config.h.in @@ -1,8 +1,7 @@ /* -*- coding: utf-8 -*- -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #pragma once diff --git a/tools/scan-build-py/libear/ear.c b/tools/scan-build-py/libear/ear.c index 0e7093af75..21c5768474 100644 --- a/tools/scan-build-py/libear/ear.c +++ b/tools/scan-build-py/libear/ear.c @@ -1,8 +1,7 @@ /* -*- coding: utf-8 -*- -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ /** diff --git a/tools/scan-build-py/libscanbuild/__init__.py b/tools/scan-build-py/libscanbuild/__init__.py index 903207c6be..2e43281650 100644 --- a/tools/scan-build-py/libscanbuild/__init__.py +++ b/tools/scan-build-py/libscanbuild/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module is a collection of methods commonly used in this project. """ import collections import functools diff --git a/tools/scan-build-py/libscanbuild/analyze.py b/tools/scan-build-py/libscanbuild/analyze.py index ab8ea62f46..49de387c70 100644 --- a/tools/scan-build-py/libscanbuild/analyze.py +++ b/tools/scan-build-py/libscanbuild/analyze.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module implements the 'scan-build' command API. To run the static analyzer against a build is done in multiple steps: @@ -98,7 +97,7 @@ def need_analyzer(args): when compiler wrappers are used. That's the moment when build setup check the compiler and capture the location for the build process. """ - return len(args) and not re.search('configure|autogen', args[0]) + return len(args) and not re.search(r'configure|autogen', args[0]) def prefix_with(constant, pieces): diff --git a/tools/scan-build-py/libscanbuild/arguments.py b/tools/scan-build-py/libscanbuild/arguments.py index 58c56d2b6d..e258a41003 100644 --- a/tools/scan-build-py/libscanbuild/arguments.py +++ b/tools/scan-build-py/libscanbuild/arguments.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module parses and validates arguments for command-line interfaces. It uses argparse module to create the command line parser. (This library is diff --git a/tools/scan-build-py/libscanbuild/clang.py b/tools/scan-build-py/libscanbuild/clang.py index 0cbfdb648f..3451b98dbd 100644 --- a/tools/scan-build-py/libscanbuild/clang.py +++ b/tools/scan-build-py/libscanbuild/clang.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module is responsible for the Clang executable. Since Clang command line interface is so rich, but this project is using only diff --git a/tools/scan-build-py/libscanbuild/compilation.py b/tools/scan-build-py/libscanbuild/compilation.py index ef906fa60b..38ce634fbe 100644 --- a/tools/scan-build-py/libscanbuild/compilation.py +++ b/tools/scan-build-py/libscanbuild/compilation.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module is responsible for to parse a compiler invocation. """ import re diff --git a/tools/scan-build-py/libscanbuild/intercept.py b/tools/scan-build-py/libscanbuild/intercept.py index b9bf9e9175..70f3233f5e 100644 --- a/tools/scan-build-py/libscanbuild/intercept.py +++ b/tools/scan-build-py/libscanbuild/intercept.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module is responsible to capture the compiler invocation of any build process. The result of that should be a compilation database. diff --git a/tools/scan-build-py/libscanbuild/report.py b/tools/scan-build-py/libscanbuild/report.py index b3753c1d9d..8bd6385fce 100644 --- a/tools/scan-build-py/libscanbuild/report.py +++ b/tools/scan-build-py/libscanbuild/report.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module is responsible to generate 'index.html' for the report. The input for this step is the output directory, where individual reports diff --git a/tools/scan-build-py/libscanbuild/shell.py b/tools/scan-build-py/libscanbuild/shell.py index a575946a95..f9c08dfef2 100644 --- a/tools/scan-build-py/libscanbuild/shell.py +++ b/tools/scan-build-py/libscanbuild/shell.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ This module implements basic shell escaping/unescaping methods. """ import re diff --git a/tools/scan-build-py/tests/__init__.py b/tools/scan-build-py/tests/__init__.py index bde2376a67..9efd160226 100644 --- a/tools/scan-build-py/tests/__init__.py +++ b/tools/scan-build-py/tests/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import unittest diff --git a/tools/scan-build-py/tests/functional/cases/__init__.py b/tools/scan-build-py/tests/functional/cases/__init__.py index 8fb8465702..7ac3456f98 100644 --- a/tools/scan-build-py/tests/functional/cases/__init__.py +++ b/tools/scan-build-py/tests/functional/cases/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import re import os.path diff --git a/tools/scan-build-py/tests/functional/cases/test_create_cdb.py b/tools/scan-build-py/tests/functional/cases/test_create_cdb.py index c26fce0bbf..692a489b61 100644 --- a/tools/scan-build-py/tests/functional/cases/test_create_cdb.py +++ b/tools/scan-build-py/tests/functional/cases/test_create_cdb.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear from . import make_args, silent_check_call, silent_call, create_empty_file diff --git a/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py b/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py index d58a61217b..b0fec3db0c 100644 --- a/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py +++ b/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear import unittest diff --git a/tools/scan-build-py/tests/functional/cases/test_from_cdb.py b/tools/scan-build-py/tests/functional/cases/test_from_cdb.py index 50264005c8..7af3eea4dd 100644 --- a/tools/scan-build-py/tests/functional/cases/test_from_cdb.py +++ b/tools/scan-build-py/tests/functional/cases/test_from_cdb.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear from . import call_and_report diff --git a/tools/scan-build-py/tests/functional/cases/test_from_cmd.py b/tools/scan-build-py/tests/functional/cases/test_from_cmd.py index 0eee4bb928..62e369c7c6 100644 --- a/tools/scan-build-py/tests/functional/cases/test_from_cmd.py +++ b/tools/scan-build-py/tests/functional/cases/test_from_cmd.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear from . import make_args, check_call_and_report, create_empty_file diff --git a/tools/scan-build-py/tests/functional/exec/config.h.in b/tools/scan-build-py/tests/functional/exec/config.h.in index 6221083fd2..2f07d0cbea 100644 --- a/tools/scan-build-py/tests/functional/exec/config.h.in +++ b/tools/scan-build-py/tests/functional/exec/config.h.in @@ -1,8 +1,7 @@ /* -*- coding: utf-8 -*- -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #pragma once diff --git a/tools/scan-build-py/tests/functional/exec/main.c b/tools/scan-build-py/tests/functional/exec/main.c index 830cf3749c..0f5e01fb35 100644 --- a/tools/scan-build-py/tests/functional/exec/main.c +++ b/tools/scan-build-py/tests/functional/exec/main.c @@ -1,8 +1,7 @@ /* -*- coding: utf-8 -*- -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #include "config.h" diff --git a/tools/scan-build-py/tests/unit/__init__.py b/tools/scan-build-py/tests/unit/__init__.py index 6b7fd9fa0d..83a04743e6 100644 --- a/tools/scan-build-py/tests/unit/__init__.py +++ b/tools/scan-build-py/tests/unit/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception from . import test_libear from . import test_compilation diff --git a/tools/scan-build-py/tests/unit/test_analyze.py b/tools/scan-build-py/tests/unit/test_analyze.py index 768a3b6910..4b6f5d0521 100644 --- a/tools/scan-build-py/tests/unit/test_analyze.py +++ b/tools/scan-build-py/tests/unit/test_analyze.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import unittest import re diff --git a/tools/scan-build-py/tests/unit/test_clang.py b/tools/scan-build-py/tests/unit/test_clang.py index 7d625c6c5b..80ce61a1fa 100644 --- a/tools/scan-build-py/tests/unit/test_clang.py +++ b/tools/scan-build-py/tests/unit/test_clang.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear import libscanbuild.clang as sut diff --git a/tools/scan-build-py/tests/unit/test_compilation.py b/tools/scan-build-py/tests/unit/test_compilation.py index 124febaf01..e8ad3d8c99 100644 --- a/tools/scan-build-py/tests/unit/test_compilation.py +++ b/tools/scan-build-py/tests/unit/test_compilation.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libscanbuild.compilation as sut import unittest diff --git a/tools/scan-build-py/tests/unit/test_intercept.py b/tools/scan-build-py/tests/unit/test_intercept.py index 583d1c3da9..5473b88d83 100644 --- a/tools/scan-build-py/tests/unit/test_intercept.py +++ b/tools/scan-build-py/tests/unit/test_intercept.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear import libscanbuild.intercept as sut diff --git a/tools/scan-build-py/tests/unit/test_libear.py b/tools/scan-build-py/tests/unit/test_libear.py index f5b9280289..933da50242 100644 --- a/tools/scan-build-py/tests/unit/test_libear.py +++ b/tools/scan-build-py/tests/unit/test_libear.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear as sut import unittest diff --git a/tools/scan-build-py/tests/unit/test_report.py b/tools/scan-build-py/tests/unit/test_report.py index c943699156..60ec0d855f 100644 --- a/tools/scan-build-py/tests/unit/test_report.py +++ b/tools/scan-build-py/tests/unit/test_report.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libear import libscanbuild.report as sut diff --git a/tools/scan-build-py/tests/unit/test_shell.py b/tools/scan-build-py/tests/unit/test_shell.py index a2904b07f5..6ffbb8782a 100644 --- a/tools/scan-build-py/tests/unit/test_shell.py +++ b/tools/scan-build-py/tests/unit/test_shell.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import libscanbuild.shell as sut import unittest |