From 2098b86b9658c0751ef00af779ab34cc7a56f01d Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 28 Feb 2019 14:01:11 +0000 Subject: [PATCH] Added missing license headers Reviewers: ioeric Subscribers: jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58781 llvm-svn: 355092 --- clang-tools-extra/clangd/ExpectedTypes.cpp | 8 ++++++++ clang-tools-extra/clangd/index/IndexAction.cpp | 9 ++++++++- clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp | 7 +++++++ .../clangd/xpc/test-client/ClangdXPCTestClient.cpp | 8 ++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/ExpectedTypes.cpp b/clang-tools-extra/clangd/ExpectedTypes.cpp index 59d9e149162a6..886b5db0cd0c6 100644 --- a/clang-tools-extra/clangd/ExpectedTypes.cpp +++ b/clang-tools-extra/clangd/ExpectedTypes.cpp @@ -1,3 +1,11 @@ +//===--- ExpectedTypes.cpp ---------------------------------------*- C++-*-===// +// +// 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 "ExpectedTypes.h" #include "clang/AST/ASTContext.h" #include "clang/AST/Type.h" diff --git a/clang-tools-extra/clangd/index/IndexAction.cpp b/clang-tools-extra/clangd/index/IndexAction.cpp index a88eca094ab21..96c007d4a8ff7 100644 --- a/clang-tools-extra/clangd/index/IndexAction.cpp +++ b/clang-tools-extra/clangd/index/IndexAction.cpp @@ -1,5 +1,12 @@ -#include "IndexAction.h" +//===--- IndexAction.cpp -----------------------------------------*- C++-*-===// +// +// 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 "IndexAction.h" #include "index/SymbolOrigin.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Index/IndexDataConsumer.h" diff --git a/clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp b/clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp index 6c68f5cdbb772..ceae0a78f689e 100644 --- a/clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp +++ b/clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp @@ -1,3 +1,10 @@ +//===--- ClangXPC.cpp --------------------------------------------*- C++-*-===// +// +// 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 +// +//===----------------------------------------------------------------------===// /// Returns the bundle identifier of the Clangd XPC service. extern "C" const char *clangd_xpc_get_bundle_identifier() { diff --git a/clang-tools-extra/clangd/xpc/test-client/ClangdXPCTestClient.cpp b/clang-tools-extra/clangd/xpc/test-client/ClangdXPCTestClient.cpp index da204a6925aca..cf5442805bb3c 100644 --- a/clang-tools-extra/clangd/xpc/test-client/ClangdXPCTestClient.cpp +++ b/clang-tools-extra/clangd/xpc/test-client/ClangdXPCTestClient.cpp @@ -1,3 +1,11 @@ +//===--- ClangXPCTestClient.cpp ----------------------------------*- C++-*-===// +// +// 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 "xpc/Conversion.h" #include "clang/Basic/LLVM.h" #include "llvm/ADT/SmallString.h"