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
+ #
12
13
# This file contains utility functions that are used by the gyb template files
13
14
# that generate Mirrors for the Swift Standard Library.
14
15
# If you edit this, make sure to also accordingly tweak the actual template files.
16
+ #
17
+ # -----------------------------------------------------------------------------
15
18
16
19
def getDisposition (disp = None ):
17
20
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
4
10
5
11
import os
6
12
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
+ # -----------------------------------------------------------------------------
12
12
#
13
13
# This is a configuration file for the 'lit' test runner.
14
14
#
15
15
# Refer to docs/Testing.rst for documentation.
16
16
#
17
17
# Update docs/Testing.rst when changing this file.
18
18
#
19
- ##=== ----------------------------------------------------------------------===##
19
+ # -----------------------------------------------------------------------------
20
20
21
21
import os
22
22
import 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 -*-
2
2
#
3
3
# This source file is part of the Swift.org open source project
4
4
#
7
7
#
8
8
# See http://swift.org/LICENSE.txt for license information
9
9
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
- #
11
- #===------------------------------------------------------------------------===#
12
10
13
11
r"""
14
12
sourcekitd 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 -*-
2
2
#
3
3
# This source file is part of the Swift.org open source project
4
4
#
7
7
#
8
8
# See http://swift.org/LICENSE.txt for license information
9
9
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
- #
11
- #===------------------------------------------------------------------------===#
12
10
13
11
from ctypes import (
14
12
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 -*-
2
2
#
3
3
# This source file is part of the Swift.org open source project
4
4
#
7
7
#
8
8
# See http://swift.org/LICENSE.txt for license information
9
9
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
- #
11
- #===------------------------------------------------------------------------===#
12
10
13
11
import capi
14
12
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 -*-
2
2
#
3
3
# This source file is part of the Swift.org open source project
4
4
#
7
7
#
8
8
# See http://swift.org/LICENSE.txt for license information
9
9
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
- #
11
- #===------------------------------------------------------------------------===#
12
10
13
11
from __future__ import print_function
14
12
Original file line number Diff line number Diff line change 1
1
#!/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 -*-
4
3
#
5
4
# This source file is part of the Swift.org open source project
6
5
#
9
8
#
10
9
# See http://swift.org/LICENSE.txt for license information
11
10
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
12
- #
13
- #===------------------------------------------------------------------------===#
14
11
15
12
from __future__ import print_function
16
13
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- #===--- build-script - The ultimate tool for building Swift ----------------===#
2
+ # utils/ build-script - The ultimate tool for building Swift -*- python -*-
3
3
#
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
11
5
#
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
13
11
14
12
from __future__ import print_function
15
13
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- #===------------------------------------------------------------------------===#
2
+ # utils/sil-opt-verify-all-modules.py - Verifies Swift modules -*- python -*-
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
8
8
#
9
9
# See http://swift.org/LICENSE.txt for license information
10
10
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
- #
12
- #===------------------------------------------------------------------------===#
13
11
14
12
from __future__ import print_function
15
13
You can’t perform that action at this time.
0 commit comments