summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-02-28 14:01:11 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-02-28 14:01:11 +0000
commit2098b86b9658c0751ef00af779ab34cc7a56f01d (patch)
tree1ef5d3fe1fe042aafe21c1757a3207a44ef70b83 /clang-tools-extra
parent7344188b72b780177bd60e2dab086988f6bb8ecf (diff)
downloadbcm5719-llvm-2098b86b9658c0751ef00af779ab34cc7a56f01d.tar.gz
bcm5719-llvm-2098b86b9658c0751ef00af779ab34cc7a56f01d.zip
Added missing license headers
Reviewers: ioeric Subscribers: jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58781 llvm-svn: 355092
Diffstat (limited to 'clang-tools-extra')
-rw-r--r--clang-tools-extra/clangd/ExpectedTypes.cpp8
-rw-r--r--clang-tools-extra/clangd/index/IndexAction.cpp9
-rw-r--r--clang-tools-extra/clangd/xpc/framework/ClangdXPC.cpp7
-rw-r--r--clang-tools-extra/clangd/xpc/test-client/ClangdXPCTestClient.cpp8
4 files changed, 31 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/ExpectedTypes.cpp b/clang-tools-extra/clangd/ExpectedTypes.cpp
index 59d9e149162..886b5db0cd0 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 a88eca094ab..96c007d4a8f 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 6c68f5cdbb7..ceae0a78f68 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 da204a6925a..cf5442805bb 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"
OpenPOWER on IntegriCloud