diff options
Diffstat (limited to 'clang-tidy/add_new_check.py')
-rwxr-xr-x | clang-tidy/add_new_check.py | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/clang-tidy/add_new_check.py b/clang-tidy/add_new_check.py index f4c518d0..898392b1 100755 --- a/clang-tidy/add_new_check.py +++ b/clang-tidy/add_new_check.py @@ -2,10 +2,9 @@ # #===- add_new_check.py - clang-tidy check generator ----------*- python -*--===# # -# 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 # #===------------------------------------------------------------------------===# @@ -61,10 +60,9 @@ def write_header(module_path, module, check_name, check_name_camel): f.write('*- C++ -*-===//') f.write(""" // -// 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 // //===----------------------------------------------------------------------===// @@ -112,10 +110,9 @@ def write_implementation(module_path, module, check_name_camel): f.write('-===//') f.write(""" // -// 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 // //===----------------------------------------------------------------------===// |