File tree Expand file tree Collapse file tree 11 files changed +49
-57
lines changed
tools/SourceKit/bindings/python/sourcekitd Expand file tree Collapse file tree 11 files changed +49
-57
lines changed Original file line number Diff line number Diff line change 1- #//===--- MirrorCommon.py -------------------------------------*- python -*-===//
2- #//
3- #// This source file is part of the Swift.org open source project
4- #//
5- #// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6- #// Licensed under Apache License v2.0 with Runtime Library Exception
7- #//
8- #// See http://swift.org/LICENSE.txt for license information
9- #// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- #//
11- #//===----------------------------------------------------------------------===//
1+ # MirrorCommon.py -*- python -*-
2+ #
3+ # This source file is part of the Swift.org open source project
4+ #
5+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6+ # Licensed under Apache License v2.0 with Runtime Library Exception
7+ #
8+ # See http://swift.org/LICENSE.txt for license information
9+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+ #
11+ # -----------------------------------------------------------------------------
12+ #
1213# This file contains utility functions that are used by the gyb template files
1314# that generate Mirrors for the Swift Standard Library.
1415# If you edit this, make sure to also accordingly tweak the actual template files.
16+ #
17+ # -----------------------------------------------------------------------------
1518
1619def getDisposition (disp = None ):
1720 if disp is None :
Original file line number Diff line number Diff line change 1- # -*- Python -*-
2-
3- # Configuration file for the 'lit' test runner.
1+ # test/Unit/lit.cfg - Configuration for the 'lit' test runner. -*- python -*-
2+ #
3+ # This source file is part of the Swift.org open source project
4+ #
5+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6+ # Licensed under Apache License v2.0 with Runtime Library Exception
7+ #
8+ # See http://swift.org/LICENSE.txt for license information
9+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
410
511import os
612
Original file line number Diff line number Diff line change 1- ##===--- lit.cfg --------------------------------------------- *- Python -*-===##
2- ##
3- ## This source file is part of the Swift.org open source project
4- ##
5- ## Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6- ## Licensed under Apache License v2.0 with Runtime Library Exception
7- ##
8- ## See http://swift.org/LICENSE.txt for license information
9- ## See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- ##
11- ##=== ----------------------------------------------------------------------===##
1+ # swift/test/ lit.cfg - Configuration for the 'lit' test runner - *- python -*-
2+ #
3+ # This source file is part of the Swift.org open source project
4+ #
5+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6+ # Licensed under Apache License v2.0 with Runtime Library Exception
7+ #
8+ # See http://swift.org/LICENSE.txt for license information
9+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+ #
11+ # -----------------------------------------------------------------------------
1212#
1313# This is a configuration file for the 'lit' test runner.
1414#
1515# Refer to docs/Testing.rst for documentation.
1616#
1717# Update docs/Testing.rst when changing this file.
1818#
19- ##=== ----------------------------------------------------------------------===##
19+ # -----------------------------------------------------------------------------
2020
2121import os
2222import platform
Original file line number Diff line number Diff line change 1- #===- __init__.py - sourcekitd Python Bindings --------------- *- python -*--===#
1+ # __init__.py - sourcekitd Python Bindings -*- python -*-
22#
33# This source file is part of the Swift.org open source project
44#
77#
88# See http://swift.org/LICENSE.txt for license information
99# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- #
11- #===------------------------------------------------------------------------===#
1210
1311r"""
1412sourcekitd framework bindings
Original file line number Diff line number Diff line change 1- #===- capi.py - sourcekitd Python Bindings ------------------- *- python -*--===#
1+ # capi.py - sourcekitd Python Bindings -*- python -*-
22#
33# This source file is part of the Swift.org open source project
44#
77#
88# See http://swift.org/LICENSE.txt for license information
99# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- #
11- #===------------------------------------------------------------------------===#
1210
1311from ctypes import (
1412 CFUNCTYPE ,
Original file line number Diff line number Diff line change 1- #===- request.py - sourcekitd Python Bindings ---------------- *- python -*--===#
1+ # request.py - sourcekitd Python Bindings -*- python -*-
22#
33# This source file is part of the Swift.org open source project
44#
77#
88# See http://swift.org/LICENSE.txt for license information
99# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- #
11- #===------------------------------------------------------------------------===#
1210
1311import capi
1412
Original file line number Diff line number Diff line change 1- #===--- SwiftBuildSupport.py - Utilities for Swift build scripts -----------===#
1+ # utils/ SwiftBuildSupport.py - Utilities for Swift build scripts -*- python -*-
22#
33# This source file is part of the Swift.org open source project
44#
77#
88# See http://swift.org/LICENSE.txt for license information
99# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10- #
11- #===------------------------------------------------------------------------===#
1210
1311from __future__ import print_function
1412
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2-
3- #===--- apply-fixit-edits.py - Tool for applying edits from .remap files ---===#
2+ # utils/apply-fixit-edits.py - Apply edits from .remap files -*- python -*-
43#
54# This source file is part of the Swift.org open source project
65#
98#
109# See http://swift.org/LICENSE.txt for license information
1110# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
12- #
13- #===------------------------------------------------------------------------===#
1411
1512from __future__ import print_function
1613
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- #===--- build-script - The ultimate tool for building Swift ----------------===#
2+ # utils/ build-script - The ultimate tool for building Swift -*- python -*-
33#
4- ## This source file is part of the Swift.org open source project
5- ##
6- ## Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
7- ## Licensed under Apache License v2.0 with Runtime Library Exception
8- ##
9- ## See http://swift.org/LICENSE.txt for license information
10- ## See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
4+ # This source file is part of the Swift.org open source project
115#
12- #===------------------------------------------------------------------------===#
6+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
7+ # Licensed under Apache License v2.0 with Runtime Library Exception
8+ #
9+ # See http://swift.org/LICENSE.txt for license information
10+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1311
1412from __future__ import print_function
1513
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- #===------------------------------------------------------------------------===#
2+ # utils/sil-opt-verify-all-modules.py - Verifies Swift modules -*- python -*-
33#
44# This source file is part of the Swift.org open source project
55#
88#
99# See http://swift.org/LICENSE.txt for license information
1010# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11- #
12- #===------------------------------------------------------------------------===#
1311
1412from __future__ import print_function
1513
You can’t perform that action at this time.
0 commit comments