diff options
Diffstat (limited to 'llgo')
33 files changed, 99 insertions, 132 deletions
diff --git a/llgo/build/context.go b/llgo/build/context.go index c1ed935e564..f0847a2bf11 100644 --- a/llgo/build/context.go +++ b/llgo/build/context.go @@ -1,9 +1,8 @@ //===- context.go - Build context utilities for llgo ----------------------===// // -// 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/llgo/cmd/cc-wrapper/main.go b/llgo/cmd/cc-wrapper/main.go index 5a375225a5f..b01ee634b2e 100644 --- a/llgo/cmd/cc-wrapper/main.go +++ b/llgo/cmd/cc-wrapper/main.go @@ -1,9 +1,8 @@ //===- main.go - Clang compiler wrapper for building libgo ----------------===// // -// 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/llgo/cmd/cgo/zdefaultcc.go b/llgo/cmd/cgo/zdefaultcc.go index 8db27697569..87bdd46bc19 100644 --- a/llgo/cmd/cgo/zdefaultcc.go +++ b/llgo/cmd/cgo/zdefaultcc.go @@ -1,9 +1,8 @@ //===- zdefaultcc.go - default compiler locations -------------------------===// // -// 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/llgo/cmd/gllgo/gllgo.go b/llgo/cmd/gllgo/gllgo.go index 88a5be367f4..9147e393e75 100644 --- a/llgo/cmd/gllgo/gllgo.go +++ b/llgo/cmd/gllgo/gllgo.go @@ -1,9 +1,8 @@ //===- gllgo.go - gccgo-like driver for llgo ------------------------------===// // -// 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/llgo/cmd/go/zdefaultcc.go.in b/llgo/cmd/go/zdefaultcc.go.in index 2ca6c9468e1..66d52d951ba 100644 --- a/llgo/cmd/go/zdefaultcc.go.in +++ b/llgo/cmd/go/zdefaultcc.go.in @@ -1,9 +1,8 @@ //===- zdefaultcc.go - default compiler locations -------------------------===// // -// 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/llgo/cmd/llgoi/llgoi.go b/llgo/cmd/llgoi/llgoi.go index 4aa774d6363..39d9af6790a 100644 --- a/llgo/cmd/llgoi/llgoi.go +++ b/llgo/cmd/llgoi/llgoi.go @@ -1,9 +1,8 @@ //===- llgoi.go - llgo-based Go REPL --------------------------------------===// // -// 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/llgo/debug/debug.go b/llgo/debug/debug.go index bd07d0adb09..561360a40c8 100644 --- a/llgo/debug/debug.go +++ b/llgo/debug/debug.go @@ -1,9 +1,8 @@ //===- debug.go - debug info builder --------------------------------------===// // -// 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/llgo/driver/parser.go b/llgo/driver/parser.go index 07600f41d44..94ae3fd8019 100644 --- a/llgo/driver/parser.go +++ b/llgo/driver/parser.go @@ -1,9 +1,8 @@ //===- parser.go - parser wrapper -----------------------------------------===// // -// 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/llgo/irgen/annotations.go b/llgo/irgen/annotations.go index 4976a625a5f..5bda7a1c17f 100644 --- a/llgo/irgen/annotations.go +++ b/llgo/irgen/annotations.go @@ -1,9 +1,8 @@ //===- annotations.go - annotation processor ------------------------------===// // -// 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/llgo/irgen/attribute.go b/llgo/irgen/attribute.go index 82f264e26e7..e986e5edb0a 100644 --- a/llgo/irgen/attribute.go +++ b/llgo/irgen/attribute.go @@ -1,9 +1,8 @@ //===- attribute.go - attribute processor ---------------------------------===// // -// 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/llgo/irgen/builtins.go b/llgo/irgen/builtins.go index 64d1c6d4ffb..7a33ef09dee 100644 --- a/llgo/irgen/builtins.go +++ b/llgo/irgen/builtins.go @@ -1,9 +1,8 @@ //===- builtins.go - IR generation for builtins ---------------------------===// // -// 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/llgo/irgen/cabi.go b/llgo/irgen/cabi.go index 610f63d4c00..02def37de76 100644 --- a/llgo/irgen/cabi.go +++ b/llgo/irgen/cabi.go @@ -1,9 +1,8 @@ //===- cabi.go - C ABI abstraction layer ----------------------------------===// // -// 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/llgo/irgen/call.go b/llgo/irgen/call.go index 9f29ac61dc1..e3874c3cc27 100644 --- a/llgo/irgen/call.go +++ b/llgo/irgen/call.go @@ -1,9 +1,8 @@ //===- call.go - IR generation for calls ----------------------------------===// // -// 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/llgo/irgen/channels.go b/llgo/irgen/channels.go index c5cc322d910..5a4e2d56aee 100644 --- a/llgo/irgen/channels.go +++ b/llgo/irgen/channels.go @@ -1,9 +1,8 @@ //===- channels.go - IR generation for channels ---------------------------===// // -// 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/llgo/irgen/closures.go b/llgo/irgen/closures.go index bc21dd324e8..0895ac2bb3b 100644 --- a/llgo/irgen/closures.go +++ b/llgo/irgen/closures.go @@ -1,9 +1,8 @@ //===- closures.go - IR generation for closures ---------------------------===// // -// 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/llgo/irgen/compiler.go b/llgo/irgen/compiler.go index acb922ee5a4..69934dfe88b 100644 --- a/llgo/irgen/compiler.go +++ b/llgo/irgen/compiler.go @@ -1,9 +1,8 @@ //===- compiler.go - IR generator entry point -----------------------------===// // -// 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/llgo/irgen/errors.go b/llgo/irgen/errors.go index a4e6dc6cf87..01be69b40e2 100644 --- a/llgo/irgen/errors.go +++ b/llgo/irgen/errors.go @@ -1,9 +1,8 @@ //===- errors.go - IR generation for run-time panics ----------------------===// // -// 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/llgo/irgen/indirect.go b/llgo/irgen/indirect.go index d01df25ae15..50074294857 100644 --- a/llgo/irgen/indirect.go +++ b/llgo/irgen/indirect.go @@ -1,9 +1,8 @@ //===- indirect.go - IR generation for thunks -----------------------------===// // -// 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/llgo/irgen/interfaces.go b/llgo/irgen/interfaces.go index fba95ba5aa0..6ebaa5564ed 100644 --- a/llgo/irgen/interfaces.go +++ b/llgo/irgen/interfaces.go @@ -1,9 +1,8 @@ //===- interfaces.go - IR generation for interfaces -----------------------===// // -// 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/llgo/irgen/maps.go b/llgo/irgen/maps.go index 6e153969a22..f729b07f26f 100644 --- a/llgo/irgen/maps.go +++ b/llgo/irgen/maps.go @@ -1,9 +1,8 @@ //===- maps.go - IR generation for maps -----------------------------------===// // -// 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/llgo/irgen/predicates.go b/llgo/irgen/predicates.go index 2ef133647e1..52e9e2ca935 100644 --- a/llgo/irgen/predicates.go +++ b/llgo/irgen/predicates.go @@ -1,9 +1,8 @@ //===- predicates.go - type predicates ------------------------------------===// // -// 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/llgo/irgen/println.go b/llgo/irgen/println.go index 2d4e42cffce..caeaff2c0d5 100644 --- a/llgo/irgen/println.go +++ b/llgo/irgen/println.go @@ -1,9 +1,8 @@ //===- println.go - IR generation for print and println -------------------===// // -// 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/llgo/irgen/runtime.go b/llgo/irgen/runtime.go index aa4b7d0631d..485a2d3eb0e 100644 --- a/llgo/irgen/runtime.go +++ b/llgo/irgen/runtime.go @@ -1,9 +1,8 @@ //===- runtime.go - IR generation for runtime calls -----------------------===// // -// 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/llgo/irgen/slice.go b/llgo/irgen/slice.go index 49cde636b38..f987155fcf8 100644 --- a/llgo/irgen/slice.go +++ b/llgo/irgen/slice.go @@ -1,9 +1,8 @@ //===- slice.go - IR generation for slices --------------------------------===// // -// 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/llgo/irgen/ssa.go b/llgo/irgen/ssa.go index f1c9d04456e..ed45e2c4dad 100644 --- a/llgo/irgen/ssa.go +++ b/llgo/irgen/ssa.go @@ -1,9 +1,8 @@ //===- ssa.go - IR generation from go/ssa ---------------------------------===// // -// 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/llgo/irgen/strings.go b/llgo/irgen/strings.go index 5762485d807..6d8e2998e05 100644 --- a/llgo/irgen/strings.go +++ b/llgo/irgen/strings.go @@ -1,9 +1,8 @@ //===- strings.go - IR generation for string ops --------------------------===// // -// 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/llgo/irgen/switches.go b/llgo/irgen/switches.go index e4bf9a65fbb..a2b46b788d3 100644 --- a/llgo/irgen/switches.go +++ b/llgo/irgen/switches.go @@ -1,9 +1,8 @@ //===- switches.go - misc utils -------------------------------------------===// // -// 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/llgo/irgen/targets.go b/llgo/irgen/targets.go index 2f4fccb540d..4460cef1d54 100644 --- a/llgo/irgen/targets.go +++ b/llgo/irgen/targets.go @@ -1,9 +1,8 @@ //===- targets.go - target data -------------------------------------------===// // -// 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/llgo/irgen/typemap.go b/llgo/irgen/typemap.go index 7da752e07e4..c2a5c7acc4b 100644 --- a/llgo/irgen/typemap.go +++ b/llgo/irgen/typemap.go @@ -1,9 +1,8 @@ //===- typemap.go - type and type descriptor mapping ----------------------===// // -// 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/llgo/irgen/types.go b/llgo/irgen/types.go index acbbdfc346d..ed1aac2873e 100644 --- a/llgo/irgen/types.go +++ b/llgo/irgen/types.go @@ -1,9 +1,8 @@ //===- types.go - convenience functions for types -------------------------===// // -// 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/llgo/irgen/utils.go b/llgo/irgen/utils.go index 37cecd7d74c..2efdc845458 100644 --- a/llgo/irgen/utils.go +++ b/llgo/irgen/utils.go @@ -1,9 +1,8 @@ //===- utils.go - misc utils ----------------------------------------------===// // -// 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/llgo/irgen/value.go b/llgo/irgen/value.go index e6bc5898e57..8b70e015edb 100644 --- a/llgo/irgen/value.go +++ b/llgo/irgen/value.go @@ -1,9 +1,8 @@ //===- value.go - govalue and operations ----------------------------------===// // -// 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/llgo/irgen/version.go b/llgo/irgen/version.go index c59eb6f6465..a3a1d68dff7 100644 --- a/llgo/irgen/version.go +++ b/llgo/irgen/version.go @@ -1,9 +1,8 @@ //===- version.go - version info ------------------------------------------===// // -// 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 // //===----------------------------------------------------------------------===// // |