Skip to content

Commit

Permalink
[SourceKit] Add license notices to all the source files.
Browse files Browse the repository at this point in the history
akyrtzi committed Nov 5, 2015
1 parent 6e1bf0d commit d19e4ae
Showing 71 changed files with 822 additions and 16 deletions.
9 changes: 6 additions & 3 deletions tools/SourceKit/bindings/python/sourcekitd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#===- __init__.py - sourcekitd Python Bindings ---------------*- python -*--===#
#
# The LLVM Compiler Infrastructure
# This source file is part of the Swift.org open source project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
#===------------------------------------------------------------------------===#

12 changes: 12 additions & 0 deletions tools/SourceKit/bindings/python/sourcekitd/capi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#===- capi.py - sourcekitd Python Bindings -------------------*- python -*--===#
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
#===------------------------------------------------------------------------===#

from ctypes import *

# ctypes doesn't implicitly convert c_void_p to the appropriate wrapper
12 changes: 12 additions & 0 deletions tools/SourceKit/bindings/python/sourcekitd/request.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#===- request.py - sourcekitd Python Bindings ----------------*- python -*--===#
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
#===------------------------------------------------------------------------===#

import capi

def request_sync(req):
12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Core/Context.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Context.h - ---------------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_CORE_CONTEXT_H
#define LLVM_SOURCEKIT_CORE_CONTEXT_H

9 changes: 6 additions & 3 deletions tools/SourceKit/include/SourceKit/Core/LLVM.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//===--- LLVM.h - Import various common LLVM datatypes ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
// This source file is part of the Swift.org open source project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Core/LangSupport.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- LangSupport.h - -----------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_CORE_LANGSUPPORT_H
#define LLVM_SOURCEKIT_CORE_LANGSUPPORT_H

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Core/NotificationCenter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- NotificationCenter.h - ----------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_CORE_NOTIFICATIONCENTER_H
#define LLVM_SOURCEKIT_CORE_NOTIFICATIONCENTER_H

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Support/Concurrency.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Concurrency.h - -----------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_SUPPORT_CONCURRENCY_H
#define LLVM_SOURCEKIT_SUPPORT_CONCURRENCY_H

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Support/FuzzyStringMatcher.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Concurrency.h - -----------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_LIB_SUPPORT_FUZZYSTRINGMATCHER_H
#define LLVM_SOURCEKIT_LIB_SUPPORT_FUZZYSTRINGMATCHER_H

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Support/ImmutableTextBuffer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- ImmutableTextBuffer.h - ---------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_SUPPORT_IMMUTABLETEXTBUFFER_H
#define LLVM_SOURCEKIT_SUPPORT_IMMUTABLETEXTBUFFER_H

9 changes: 6 additions & 3 deletions tools/SourceKit/include/SourceKit/Support/Logging.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//===- Logging.h - Logging Interface ----------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
// This source file is part of the Swift.org open source project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Support/ThreadSafeRefCntPtr.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- ThreadSafeRefCntPtr.h - ---------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_SUPPORT_THREADSAFEREFCNTPTR_H
#define LLVM_SOURCEKIT_SUPPORT_THREADSAFEREFCNTPTR_H

9 changes: 6 additions & 3 deletions tools/SourceKit/include/SourceKit/Support/Tracing.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//===- Tracing.h - Tracing Interface ----------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
// This source file is part of the Swift.org open source project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

12 changes: 12 additions & 0 deletions tools/SourceKit/include/SourceKit/Support/UIdent.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- UIdent.h - ----------------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_SUPPORT_UIDENT_H
#define LLVM_SOURCEKIT_SUPPORT_UIDENT_H

12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Core/Context.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Context.cpp ------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Core/Context.h"
#include "SourceKit/Core/LangSupport.h"
#include "SourceKit/Core/NotificationCenter.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Core/LangSupport.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- LangSupport.cpp --------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Core/LangSupport.h"

using namespace SourceKit;
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Core/NotificationCenter.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- NotificationCenter.cpp -------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Core/NotificationCenter.h"
#include "SourceKit/Support/Concurrency.h"

12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/Concurrency-Mac.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Concurrency-Mac.cpp ----------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/Concurrency.h"
#include "SourceKit/Config/config.h"
#include "llvm/ADT/SmallString.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/FuzzyStringMatcher.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- FuzzyStringMatcher.cpp -------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/FuzzyStringMatcher.h"
#include "clang/Basic/CharInfo.h"
#include "llvm/ADT/ArrayRef.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/ImmutableTextBuffer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- ImmutableTextBuffer.cpp ------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/ImmutableTextBuffer.h"
#include "clang/Rewrite/Core/RewriteRope.h"
#include "llvm/Support/MemoryBuffer.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/Logging.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Logging.cpp ------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/Logging.h"
#include "SourceKit/Support/UIdent.h"
#include "llvm/Config/config.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/ThreadSafeRefCntPtr.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- ThreadSafeRefCntPtr.cpp ------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/ThreadSafeRefCntPtr.h"
#include <functional>

12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/Tracing.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- Tracing.cpp ------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/Tracing.h"

#include "swift/Frontend/Frontend.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/Support/UIDRegistry.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- UIDRegistry.cpp --------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#include "SourceKit/Support/UIdent.h"
#include "SourceKit/Support/Concurrency.h"
#include "llvm/ADT/StringMap.h"
12 changes: 12 additions & 0 deletions tools/SourceKit/lib/SwiftLang/CodeCompletion.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===--- CodeCompletion.h - --------------------------------------*- C++ -*-==//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SOURCEKIT_LIB_SWIFTLANG_CODECOMPLETION_H
#define LLVM_SOURCEKIT_LIB_SWIFTLANG_CODECOMPLETION_H

Loading

0 comments on commit d19e4ae

Please sign in to comment.