Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 324f918

Browse files
committed
Update the file headers across all of the LLVM projects in the monorepo
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 35b9005 commit 324f918

File tree

1,589 files changed

+4778
-6354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,589 files changed

+4778
-6354
lines changed

bindings/python/clang/__init__.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#===- __init__.py - Clang Python Bindings --------------------*- python -*--===#
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98

bindings/python/clang/cindex.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#===- cindex.py - Python Indexing Library Bindings -----------*- python -*--===#
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98

bindings/python/clang/enumerations.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#===- enumerations.py - Python Enumerations ------------------*- python -*--===#
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98

bindings/python/examples/cindex/cindex-dump.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
#===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===#
44
#
5-
# The LLVM Compiler Infrastructure
6-
#
7-
# This file is distributed under the University of Illinois Open Source
8-
# License. See LICENSE.TXT for details.
5+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6+
# See https://llvm.org/LICENSE.txt for license information.
7+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
98
#
109
#===------------------------------------------------------------------------===#
1110

bindings/python/examples/cindex/cindex-includes.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
#===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===#
44
#
5-
# The LLVM Compiler Infrastructure
6-
#
7-
# This file is distributed under the University of Illinois Open Source
8-
# License. See LICENSE.TXT for details.
5+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6+
# See https://llvm.org/LICENSE.txt for license information.
7+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
98
#
109
#===------------------------------------------------------------------------===#
1110

examples/AnnotateFunctions/AnnotateFunctions.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- AnnotateFunctions.cpp ----------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

examples/PrintFunctionNames/PrintFunctionNames.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- PrintFunctionNames.cpp ---------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

examples/clang-interpreter/Test.cxx

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===-- examples/clang-interpreter/Test.cxx - Clang C Interpreter Example -===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

examples/clang-interpreter/main.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===-- examples/clang-interpreter/main.cpp - Clang C Interpreter Example -===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

include/clang-c/BuildSystem.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*==-- clang-c/BuildSystem.h - Utilities for use by build systems -*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/CXCompilationDatabase.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*===-- clang-c/CXCompilationDatabase.h - Compilation database ---*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/CXErrorCode.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/CXString.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*===-- clang-c/CXString.h - C Index strings --------------------*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/Documentation.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*==-- clang-c/Documentation.h - Utilities for comment processing -*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/Index.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*===-- clang-c/Index.h - Indexing Public C Interface -------------*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang-c/Platform.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*===-- clang-c/Platform.h - C Index platform decls -------------*- C -*-===*\
22
|* *|
3-
|* The LLVM Compiler Infrastructure *|
4-
|* *|
5-
|* This file is distributed under the University of Illinois Open Source *|
6-
|* License. See LICENSE.TXT for details. *|
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4+
|* Exceptions. *|
5+
|* See https://llvm.org/LICENSE.txt for license information. *|
6+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
77
|* *|
88
|*===----------------------------------------------------------------------===*|
99
|* *|

include/clang/ARCMigrate/ARCMT.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===-- ARCMT.h - ARC Migration Rewriter ------------------------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

include/clang/ARCMigrate/ARCMTActions.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- ARCMTActions.h - ARC Migrate Tool Frontend Actions -----*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

include/clang/ARCMigrate/FileRemapper.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===-- FileRemapper.h - File Remapping Helper ------------------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

include/clang/AST/APValue.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/AST.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- AST.h - "Umbrella" header for AST library --------------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTConsumer.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- ASTConsumer.h - Abstract interface for reading ASTs ----*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTContext.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- ASTContext.h - Context to hold long-lived AST nodes ------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTContextAllocate.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- ASTContextAllocate.h - ASTContext allocate functions -----*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTDiagnostic.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- ASTDiagnostic.h - Diagnostics for the AST library ------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

include/clang/AST/ASTDumperUtils.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- ASTDumperUtils.h - Printing of AST nodes -------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTFwd.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===--- ASTFwd.h ----------------------------------------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===--------------------------------------------------------------===//
98
///

include/clang/AST/ASTImporter.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- ASTImporter.h - Importing ASTs from other Contexts -------*- C++ -*-===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

include/clang/AST/ASTImporterLookupTable.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- ASTImporterLookupTable.h - ASTImporter specific lookup--*- C++ -*---===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

0 commit comments

Comments
 (0)