From 199c4eae2eff7a56c08e1097c6ede3a2646ce632 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 4 Jan 2016 09:20:19 +0100 Subject: [PATCH 1/4] Consistent use of programming language indicator in top of file comment. --- include/swift/Runtime/InstrumentsSupport.h | 2 +- include/swift/Sema/CodeCompletionTypeChecking.h | 2 +- include/swift/Sema/SourceLoader.h | 2 +- include/swift/Serialization/SerializationOptions.h | 2 +- include/swift/Serialization/SerializedModuleLoader.h | 2 +- include/swift/Serialization/SerializedSILLoader.h | 2 +- include/swift/Serialization/Validation.h | 2 +- include/swift/SwiftDemangle/SwiftDemangle.h | 2 +- lib/AST/ModuleNameLookup.cpp | 2 +- lib/Sema/SourceLoader.cpp | 2 +- stdlib/public/SDK/Foundation/NSValue.swift | 2 +- stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/swift/Runtime/InstrumentsSupport.h b/include/swift/Runtime/InstrumentsSupport.h index 6155f90f4797c..3b5dbc9901930 100644 --- a/include/swift/Runtime/InstrumentsSupport.h +++ b/include/swift/Runtime/InstrumentsSupport.h @@ -1,4 +1,4 @@ -//===--- InstrumentsSupport.h - Support for Instruments.app ------ C++ -*--===// +//===--- InstrumentsSupport.h - Support for Instruments.app -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Sema/CodeCompletionTypeChecking.h b/include/swift/Sema/CodeCompletionTypeChecking.h index f5be6667acb0c..272b576c7d2d4 100644 --- a/include/swift/Sema/CodeCompletionTypeChecking.h +++ b/include/swift/Sema/CodeCompletionTypeChecking.h @@ -1,4 +1,4 @@ -//===--- CodeCompletionTypeChecking.h - Type-check entry points -*- c++ -*-===// +//===--- CodeCompletionTypeChecking.h - Type-check entry points -*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Sema/SourceLoader.h b/include/swift/Sema/SourceLoader.h index 96ef500e0fc6b..8d55825cb2a67 100644 --- a/include/swift/Sema/SourceLoader.h +++ b/include/swift/Sema/SourceLoader.h @@ -1,4 +1,4 @@ -//===--- SourceLoader.h - Import .swift files as modules --------*- c++ -*-===// +//===--- SourceLoader.h - Import .swift files as modules --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Serialization/SerializationOptions.h b/include/swift/Serialization/SerializationOptions.h index 47fcb801aa7fd..c96c280ea429c 100644 --- a/include/swift/Serialization/SerializationOptions.h +++ b/include/swift/Serialization/SerializationOptions.h @@ -1,4 +1,4 @@ -//===--- SerializationOptions.h - Control swiftmodule emission --*- c++ -*-===// +//===--- SerializationOptions.h - Control swiftmodule emission --*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Serialization/SerializedModuleLoader.h b/include/swift/Serialization/SerializedModuleLoader.h index 1d50e11f0deae..ac190249e77ad 100644 --- a/include/swift/Serialization/SerializedModuleLoader.h +++ b/include/swift/Serialization/SerializedModuleLoader.h @@ -1,4 +1,4 @@ -//===--- SerializedModuleLoader.h - Import Swift modules --------*- c++ -*-===// +//===--- SerializedModuleLoader.h - Import Swift modules --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Serialization/SerializedSILLoader.h b/include/swift/Serialization/SerializedSILLoader.h index baa458c741094..77781da5da405 100644 --- a/include/swift/Serialization/SerializedSILLoader.h +++ b/include/swift/Serialization/SerializedSILLoader.h @@ -1,4 +1,4 @@ -//===--- SerializedSILLoader.h - Handle SIL section in modules --*- c++ -*-===// +//===--- SerializedSILLoader.h - Handle SIL section in modules --*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Serialization/Validation.h b/include/swift/Serialization/Validation.h index d577e9219dfdf..3048dd4669b07 100644 --- a/include/swift/Serialization/Validation.h +++ b/include/swift/Serialization/Validation.h @@ -1,4 +1,4 @@ -//===--- Validation.h - Validation / errors for serialization ---*- c++ -*-===// +//===--- Validation.h - Validation / errors for serialization ---*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SwiftDemangle/SwiftDemangle.h b/include/swift/SwiftDemangle/SwiftDemangle.h index 6d02e21aa3a76..166ce942221b3 100644 --- a/include/swift/SwiftDemangle/SwiftDemangle.h +++ b/include/swift/SwiftDemangle/SwiftDemangle.h @@ -1,4 +1,4 @@ -//===--- SwiftDemangle.h - Public demangling interface -----------*- C -*--===// +//===--- SwiftDemangle.h - Public demangling interface ----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/AST/ModuleNameLookup.cpp b/lib/AST/ModuleNameLookup.cpp index e99a3d9ba7f3c..b098f8f3413e6 100644 --- a/lib/AST/ModuleNameLookup.cpp +++ b/lib/AST/ModuleNameLookup.cpp @@ -1,4 +1,4 @@ -//===--- ModuleNameLookup.cpp - Name lookup within a module ----*- c++ -*--===// +//===--- ModuleNameLookup.cpp - Name lookup within a module -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Sema/SourceLoader.cpp b/lib/Sema/SourceLoader.cpp index 42cd3b2406f49..d558629008a69 100644 --- a/lib/Sema/SourceLoader.cpp +++ b/lib/Sema/SourceLoader.cpp @@ -1,4 +1,4 @@ -//===--- SourceLoader.cpp - Import .swift files as modules ------*- c++ -*-===// +//===--- SourceLoader.cpp - Import .swift files as modules ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/SDK/Foundation/NSValue.swift b/stdlib/public/SDK/Foundation/NSValue.swift index fb4758faeb705..901712d6c76c6 100644 --- a/stdlib/public/SDK/Foundation/NSValue.swift +++ b/stdlib/public/SDK/Foundation/NSValue.swift @@ -1,4 +1,4 @@ -//===--- NSValue.swift - Bridging things in NSValue -------------*-swift-*-===// +//===--- NSValue.swift - Bridging things in NSValue -----------*- swift -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb b/stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb index a637a9afed3b8..61457c1ffb902 100644 --- a/stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb +++ b/stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb @@ -1,4 +1,4 @@ -//===- UnicodeExtendedGraphemeClusters.cpp.gyb ------------------*- c++ -*-===// +//===- UnicodeExtendedGraphemeClusters.cpp.gyb ------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // From f91525a10f038ff58459224226c34c7838f88c80 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 4 Jan 2016 09:46:20 +0100 Subject: [PATCH 2/4] Consistent placement of "-*- [language] -*-===//" in header. --- include/swift/ABI/Compression.h | 2 +- include/swift/ABI/MetadataKind.def | 2 +- include/swift/AST/ClangModuleLoader.h | 2 +- include/swift/AST/ModuleLoader.h | 2 +- include/swift/ASTSectionImporter/ASTSectionImporter.h | 2 +- include/swift/Basic/BlotMapVector.h | 2 +- include/swift/ClangImporter/ClangImporter.h | 2 +- include/swift/ClangImporter/ClangImporterOptions.h | 2 +- include/swift/Driver/Driver.h | 2 +- include/swift/Driver/OutputFileMap.h | 2 +- include/swift/Frontend/Frontend.h | 2 +- include/swift/Frontend/SerializedDiagnosticConsumer.h | 2 +- include/swift/Immediate/Immediate.h | 2 +- include/swift/Runtime/Concurrent.h | 2 +- include/swift/Runtime/Config.h | 2 +- include/swift/Runtime/Enum.h | 2 +- include/swift/Runtime/Heap.h | 2 +- include/swift/Runtime/HeapObject.h | 2 +- include/swift/Runtime/Once.h | 2 +- include/swift/SIL/LoopInfo.h | 2 +- include/swift/SIL/SILDeclRef.h | 2 +- include/swift/SILOptimizer/Analysis/ARCAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/AliasAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/Analysis.def | 2 +- include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/BottomUpIPAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/DestructorAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/DominanceAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/EscapeAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/FunctionOrder.h | 2 +- include/swift/SILOptimizer/Analysis/IVAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/LoopAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h | 2 +- include/swift/SILOptimizer/Analysis/ValueTracking.h | 2 +- include/swift/SILOptimizer/PassManager/PrettyStackTrace.h | 2 +- include/swift/SILOptimizer/Utils/SCCVisitor.h | 2 +- lib/Driver/OutputFileMap.cpp | 2 +- lib/Immediate/ImmediateImpl.h | 2 +- lib/LLVMPasses/ARCEntryPointBuilder.h | 2 +- lib/SIL/Linker.h | 2 +- lib/SIL/LoopInfo.cpp | 2 +- lib/SILOptimizer/ARC/ARCBBState.h | 2 +- lib/SILOptimizer/ARC/RCStateTransition.def | 2 +- lib/SILOptimizer/ARC/RCStateTransition.h | 2 +- lib/SILOptimizer/ARC/RCStateTransitionVisitors.h | 2 +- lib/SILOptimizer/ARC/RefCountState.h | 2 +- lib/SILOptimizer/Analysis/IVAnalysis.cpp | 2 +- lib/SILOptimizer/Analysis/LoopAnalysis.cpp | 2 +- lib/SILOptimizer/Analysis/ValueTracking.cpp | 2 +- lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp | 2 +- lib/SILOptimizer/LoopTransforms/LICM.cpp | 2 +- lib/SILOptimizer/LoopTransforms/LoopRotate.cpp | 2 +- lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp | 2 +- lib/SILOptimizer/SILCombiner/SILCombiner.h | 2 +- lib/SILOptimizer/Transforms/MergeCondFail.cpp | 2 +- lib/SILOptimizer/Transforms/RemovePin.cpp | 2 +- lib/SILOptimizer/UtilityPasses/BasicCalleePrinter.cpp | 2 +- lib/SILOptimizer/UtilityPasses/LoopInfoPrinter.cpp | 2 +- lib/Serialization/DeserializeSIL.h | 2 +- stdlib/public/core/IntegerArithmetic.swift.gyb | 2 +- stdlib/public/core/Interval.swift.gyb | 2 +- stdlib/public/runtime/Enum.cpp | 2 +- stdlib/public/runtime/ExistentialMetadataImpl.h | 2 +- stdlib/public/runtime/Leaks.mm | 2 +- stdlib/public/runtime/MetadataCache.h | 2 +- stdlib/public/runtime/MetadataImpl.h | 2 +- stdlib/public/runtime/Private.h | 2 +- 69 files changed, 69 insertions(+), 69 deletions(-) diff --git a/include/swift/ABI/Compression.h b/include/swift/ABI/Compression.h index ce656c300db12..83152a3667b96 100644 --- a/include/swift/ABI/Compression.h +++ b/include/swift/ABI/Compression.h @@ -1,4 +1,4 @@ -//===--- Compression.h - Defines the compression interface ----*- C++ -*---===// +//===--- Compression.h - Defines the compression interface ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/ABI/MetadataKind.def b/include/swift/ABI/MetadataKind.def index 4c6412dbb4de1..7747bd9def2e9 100644 --- a/include/swift/ABI/MetadataKind.def +++ b/include/swift/ABI/MetadataKind.def @@ -1,4 +1,4 @@ -//===--- MetadataKind.def --------------------------------------*- C++ -*--===// +//===--- MetadataKind.def ---------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/AST/ClangModuleLoader.h b/include/swift/AST/ClangModuleLoader.h index 66ec301474e22..f9062a26d0512 100644 --- a/include/swift/AST/ClangModuleLoader.h +++ b/include/swift/AST/ClangModuleLoader.h @@ -1,4 +1,4 @@ -//===--- ClangModuleLoader.h - Clang Module Loader Interface --*- C++ -*- -===// +//===--- ClangModuleLoader.h - Clang Module Loader Interface ----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/AST/ModuleLoader.h b/include/swift/AST/ModuleLoader.h index 24f8b79044ae7..05bf1b247fa66 100644 --- a/include/swift/AST/ModuleLoader.h +++ b/include/swift/AST/ModuleLoader.h @@ -1,4 +1,4 @@ -//===--- ModuleLoader.h - Module Loader Interface ----------- -*- C++ -*- -===// +//===--- ModuleLoader.h - Module Loader Interface ---------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/ASTSectionImporter/ASTSectionImporter.h b/include/swift/ASTSectionImporter/ASTSectionImporter.h index 99dc79d9339d6..2820bb86494d7 100644 --- a/include/swift/ASTSectionImporter/ASTSectionImporter.h +++ b/include/swift/ASTSectionImporter/ASTSectionImporter.h @@ -1,4 +1,4 @@ -//===--- ASTSectionImporter.h - Import AST Section Modules -----*- C++ -*--===// +//===--- ASTSectionImporter.h - Import AST Section Modules ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Basic/BlotMapVector.h b/include/swift/Basic/BlotMapVector.h index f47a71ce74c68..9dc5911ffe460 100644 --- a/include/swift/Basic/BlotMapVector.h +++ b/include/swift/Basic/BlotMapVector.h @@ -1,4 +1,4 @@ -//===- BlotMapVector.h - Map vector with "blot" operation -----*- C++ -*--===// +//===- BlotMapVector.h - Map vector with "blot" operation ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/ClangImporter/ClangImporter.h b/include/swift/ClangImporter/ClangImporter.h index 6d33f9e83cabf..cb4a65a0d1519 100644 --- a/include/swift/ClangImporter/ClangImporter.h +++ b/include/swift/ClangImporter/ClangImporter.h @@ -1,4 +1,4 @@ -//===--- ClangImporter.h - Import Clang Modules ----------------*- C++ -*--===// +//===--- ClangImporter.h - Import Clang Modules -----------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/ClangImporter/ClangImporterOptions.h b/include/swift/ClangImporter/ClangImporterOptions.h index 67175fab689ae..8f8513d40e844 100644 --- a/include/swift/ClangImporter/ClangImporterOptions.h +++ b/include/swift/ClangImporter/ClangImporterOptions.h @@ -1,4 +1,4 @@ -//===-- ClangImporterOptions.h ---------------------------------*- C++ -*--===// +//===-- ClangImporterOptions.h ----------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Driver/Driver.h b/include/swift/Driver/Driver.h index eaf3b8c8e5d61..c8e82f719bb4a 100644 --- a/include/swift/Driver/Driver.h +++ b/include/swift/Driver/Driver.h @@ -1,4 +1,4 @@ -//===-- Driver.h - Swift compiler driver -----------------------*- C++ -*--===// +//===-- Driver.h - Swift compiler driver ------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Driver/OutputFileMap.h b/include/swift/Driver/OutputFileMap.h index 5f0ee97c2c020..0854b86cc8e92 100644 --- a/include/swift/Driver/OutputFileMap.h +++ b/include/swift/Driver/OutputFileMap.h @@ -1,4 +1,4 @@ -//===-- OutputFileMap.h - Driver output file map ---------------*- C++ -*--===// +//===-- OutputFileMap.h - Driver output file map ----------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Frontend/Frontend.h b/include/swift/Frontend/Frontend.h index 38ad093caa059..250ff20b61837 100644 --- a/include/swift/Frontend/Frontend.h +++ b/include/swift/Frontend/Frontend.h @@ -1,4 +1,4 @@ -//===-- Frontend.h - frontend utility methods ------------------*- C++ -*--===// +//===-- Frontend.h - frontend utility methods -------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Frontend/SerializedDiagnosticConsumer.h b/include/swift/Frontend/SerializedDiagnosticConsumer.h index 66df81eb124d0..5bd59bc8c09c9 100644 --- a/include/swift/Frontend/SerializedDiagnosticConsumer.h +++ b/include/swift/Frontend/SerializedDiagnosticConsumer.h @@ -1,4 +1,4 @@ -//===- SerializedDiagnosticConsumer.h - Serialize Diagnostics --*- C++ -*--===// +//===- SerializedDiagnosticConsumer.h - Serialize Diagnostics ---*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Immediate/Immediate.h b/include/swift/Immediate/Immediate.h index 97831d8f340d4..42666ed183d8d 100644 --- a/include/swift/Immediate/Immediate.h +++ b/include/swift/Immediate/Immediate.h @@ -1,4 +1,4 @@ -//===-- Immediate.h - Entry point for swift immediate mode -----*- C++ -*--===// +//===-- Immediate.h - Entry point for swift immediate mode ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/Concurrent.h b/include/swift/Runtime/Concurrent.h index e2db26ed9d0b1..adf8fd31e6e20 100644 --- a/include/swift/Runtime/Concurrent.h +++ b/include/swift/Runtime/Concurrent.h @@ -1,4 +1,4 @@ -//===--- Concurrent.h - Concurrent Data Structures ------------*- C++ -*--===// +//===--- Concurrent.h - Concurrent Data Structures -------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/Config.h b/include/swift/Runtime/Config.h index c1f70ef7239fe..7307a435392f0 100644 --- a/include/swift/Runtime/Config.h +++ b/include/swift/Runtime/Config.h @@ -1,4 +1,4 @@ -//===--- Config.h - Swift Language Platform Configuration ------*- C++ -*--===// +//===--- Config.h - Swift Language Platform Configuration -------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/Enum.h b/include/swift/Runtime/Enum.h index 1048d19b2603f..95ad9c8e0f6c4 100644 --- a/include/swift/Runtime/Enum.h +++ b/include/swift/Runtime/Enum.h @@ -1,4 +1,4 @@ -//===--- Enum.h - Runtime declarations for enums ---------------*- C++ -*--===// +//===--- Enum.h - Runtime declarations for enums ----------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/Heap.h b/include/swift/Runtime/Heap.h index 9569993a3975c..749eb7f9337e8 100644 --- a/include/swift/Runtime/Heap.h +++ b/include/swift/Runtime/Heap.h @@ -1,4 +1,4 @@ -//===--- Heap.h - Swift Language Heap ABI ----------------------*- C++ -*--===// +//===--- Heap.h - Swift Language Heap ABI -----------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/HeapObject.h b/include/swift/Runtime/HeapObject.h index 119e8bac4c760..770a2daad5622 100644 --- a/include/swift/Runtime/HeapObject.h +++ b/include/swift/Runtime/HeapObject.h @@ -1,4 +1,4 @@ -//===--- HeapObject.h - Swift Language Allocation ABI ----------*- C++ -*--===// +//===--- HeapObject.h - Swift Language Allocation ABI -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/Runtime/Once.h b/include/swift/Runtime/Once.h index 7229b91f468b2..ee546272a46a4 100644 --- a/include/swift/Runtime/Once.h +++ b/include/swift/Runtime/Once.h @@ -1,4 +1,4 @@ -//===--- Once.h - Runtime support for lazy initialization ------*- C++ -*--===// +//===--- Once.h - Runtime support for lazy initialization -------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SIL/LoopInfo.h b/include/swift/SIL/LoopInfo.h index 6a0f12c5520ca..eb7cb391bbd70 100644 --- a/include/swift/SIL/LoopInfo.h +++ b/include/swift/SIL/LoopInfo.h @@ -1,4 +1,4 @@ -//===-------------- LoopInfo.h - SIL Loop Analysis -----*- C++ -*----------===// +//===-------------- LoopInfo.h - SIL Loop Analysis --------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SIL/SILDeclRef.h b/include/swift/SIL/SILDeclRef.h index f3b1fa3bb9114..5f352d3342406 100644 --- a/include/swift/SIL/SILDeclRef.h +++ b/include/swift/SIL/SILDeclRef.h @@ -1,4 +1,4 @@ -//===--- SILDeclRef.h - Defines the SILDeclRef struct ---------*- C++ -*---===// +//===--- SILDeclRef.h - Defines the SILDeclRef struct -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/ARCAnalysis.h b/include/swift/SILOptimizer/Analysis/ARCAnalysis.h index c7024546d717d..a3bf5c394b79b 100644 --- a/include/swift/SILOptimizer/Analysis/ARCAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/ARCAnalysis.h @@ -1,4 +1,4 @@ -//===--------------- ARCAnalysis.h - SIL ARC Analysis ----*- C++ -*--------===// +//===--------------- ARCAnalysis.h - SIL ARC Analysis -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/AliasAnalysis.h b/include/swift/SILOptimizer/Analysis/AliasAnalysis.h index 4d0e70d813b31..37b641feee825 100644 --- a/include/swift/SILOptimizer/Analysis/AliasAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/AliasAnalysis.h @@ -1,4 +1,4 @@ -//===-------------- AliasAnalysis.h - SIL Alias Analysis -*- C++ -*--------===// +//===-------------- AliasAnalysis.h - SIL Alias Analysis --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/Analysis.def b/include/swift/SILOptimizer/Analysis/Analysis.def index 567678a598272..5961180cb5bde 100644 --- a/include/swift/SILOptimizer/Analysis/Analysis.def +++ b/include/swift/SILOptimizer/Analysis/Analysis.def @@ -1,4 +1,4 @@ -//===--- Analysis.def ----------------------------------------*- C++ -*----===// +//===--- Analysis.def -------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h b/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h index 2956500c2f20e..51cd5d8417f88 100644 --- a/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h @@ -1,4 +1,4 @@ -//===- BasicCalleeAnalysis.h - Determine callees per call site -*- C++ -*--===// +//===- BasicCalleeAnalysis.h - Determine callees per call site --*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/BottomUpIPAnalysis.h b/include/swift/SILOptimizer/Analysis/BottomUpIPAnalysis.h index 9119be880c959..dac6473ab2e01 100644 --- a/include/swift/SILOptimizer/Analysis/BottomUpIPAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/BottomUpIPAnalysis.h @@ -1,4 +1,4 @@ -//===- BottomUpIPAnalysis.h - Bottom-up IP analysis base-class -*- C++ -*--===// +//===- BottomUpIPAnalysis.h - Bottom-up IP analysis base-class --*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/DestructorAnalysis.h b/include/swift/SILOptimizer/Analysis/DestructorAnalysis.h index 5936e245db73a..fa9f8a2444c2f 100644 --- a/include/swift/SILOptimizer/Analysis/DestructorAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/DestructorAnalysis.h @@ -1,4 +1,4 @@ -//===--- DestructorAnalysis.h ------------------------------*- C++ -*------===// +//===--- DestructorAnalysis.h -----------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h b/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h index 09cf75bcb132b..f4a85cccf6b69 100644 --- a/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h @@ -1,4 +1,4 @@ -//===--- DominanceAnalysis.h - SIL Dominance Analysis -*- C++ -*-----------===// +//===--- DominanceAnalysis.h - SIL Dominance Analysis -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/EscapeAnalysis.h b/include/swift/SILOptimizer/Analysis/EscapeAnalysis.h index 3c3d3badb4f40..c56a90b874bb7 100644 --- a/include/swift/SILOptimizer/Analysis/EscapeAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/EscapeAnalysis.h @@ -1,4 +1,4 @@ -//===----------- EscapeAnalysis.h - SIL Escape Analysis -*- C++ -*---------===// +//===----------- EscapeAnalysis.h - SIL Escape Analysis ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/FunctionOrder.h b/include/swift/SILOptimizer/Analysis/FunctionOrder.h index 493005cb5dbd1..ab86c5e3a23fc 100644 --- a/include/swift/SILOptimizer/Analysis/FunctionOrder.h +++ b/include/swift/SILOptimizer/Analysis/FunctionOrder.h @@ -1,4 +1,4 @@ -//===--- FunctionOrder.h - Utilities for function ordering ----*- C++ -*--===// +//===--- FunctionOrder.h - Utilities for function ordering -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/IVAnalysis.h b/include/swift/SILOptimizer/Analysis/IVAnalysis.h index 8acca65485564..f51c7d7f4d815 100644 --- a/include/swift/SILOptimizer/Analysis/IVAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/IVAnalysis.h @@ -1,4 +1,4 @@ -//===------------------- IVAnalysis.h - SIL IV Analysis -------*- C++ -*---===// +//===------------------- IVAnalysis.h - SIL IV Analysis ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/LoopAnalysis.h b/include/swift/SILOptimizer/Analysis/LoopAnalysis.h index f891db0c1b02e..5ddfc65ba1f07 100644 --- a/include/swift/SILOptimizer/Analysis/LoopAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/LoopAnalysis.h @@ -1,4 +1,4 @@ -//===-------------- LoopAnalysis.h - SIL Loop Analysis -*- C++ -*----------===// +//===-------------- LoopAnalysis.h - SIL Loop Analysis ----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h b/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h index 322904c8ed123..bbb89ea5442db 100644 --- a/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h @@ -1,4 +1,4 @@ -//===--- PostOrderAnalysis.h - SIL POT and RPOT Analysis -------*- C++ -*--===// +//===--- PostOrderAnalysis.h - SIL POT and RPOT Analysis --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h b/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h index d4ad9cb8e4602..9d3b30f52dbe6 100644 --- a/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h @@ -1,4 +1,4 @@ -//===--- RCIdentityAnalysis.h ------------------------------*- C++ -*------===// +//===--- RCIdentityAnalysis.h -----------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h b/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h index 955031e4a7a18..151088bce8ea6 100644 --- a/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h +++ b/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h @@ -1,4 +1,4 @@ -//===------ SideEffectAnalysis.h - SIL Side Effect Analysis -*- C++ -*-----===// +//===------ SideEffectAnalysis.h - SIL Side Effect Analysis -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Analysis/ValueTracking.h b/include/swift/SILOptimizer/Analysis/ValueTracking.h index da3ef8931b48b..e72c62f854c2e 100644 --- a/include/swift/SILOptimizer/Analysis/ValueTracking.h +++ b/include/swift/SILOptimizer/Analysis/ValueTracking.h @@ -1,4 +1,4 @@ -//===-- ValueTracking.h - SIL Value Tracking Analysis ----------*- C++ -*--===// +//===-- ValueTracking.h - SIL Value Tracking Analysis -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/PassManager/PrettyStackTrace.h b/include/swift/SILOptimizer/PassManager/PrettyStackTrace.h index 162182b2432ed..f2449c927344e 100644 --- a/include/swift/SILOptimizer/PassManager/PrettyStackTrace.h +++ b/include/swift/SILOptimizer/PassManager/PrettyStackTrace.h @@ -1,4 +1,4 @@ -//===--- PrettyStackTrace.h - PrettyStackTrace for Transforms -*- C++ -*---===// +//===--- PrettyStackTrace.h - PrettyStackTrace for Transforms ---*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/include/swift/SILOptimizer/Utils/SCCVisitor.h b/include/swift/SILOptimizer/Utils/SCCVisitor.h index 249a3ab94f0bb..366b453de8862 100644 --- a/include/swift/SILOptimizer/Utils/SCCVisitor.h +++ b/include/swift/SILOptimizer/Utils/SCCVisitor.h @@ -1,4 +1,4 @@ -//===------------------- SCCVisitor.h - SIL SCC Visitor -------*- C++ -*---===// +//===------------------- SCCVisitor.h - SIL SCC Visitor ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Driver/OutputFileMap.cpp b/lib/Driver/OutputFileMap.cpp index dac94a43ed785..3cb601a250f05 100644 --- a/lib/Driver/OutputFileMap.cpp +++ b/lib/Driver/OutputFileMap.cpp @@ -1,4 +1,4 @@ -//===-- OutputFileMap.cpp - Driver output file map -------------*- C++ -*--===// +//===-- OutputFileMap.cpp - Driver output file map --------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Immediate/ImmediateImpl.h b/lib/Immediate/ImmediateImpl.h index 5d5bf0df6dd47..aba1e3bf611be 100644 --- a/lib/Immediate/ImmediateImpl.h +++ b/lib/Immediate/ImmediateImpl.h @@ -1,4 +1,4 @@ -//===-- ImmediateImpl.h - Support functions for immediate mode -*- C++ -*--===// +//===-- ImmediateImpl.h - Support functions for immediate mode --*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/LLVMPasses/ARCEntryPointBuilder.h b/lib/LLVMPasses/ARCEntryPointBuilder.h index a3de0d0889854..f68325eb808b6 100644 --- a/lib/LLVMPasses/ARCEntryPointBuilder.h +++ b/lib/LLVMPasses/ARCEntryPointBuilder.h @@ -1,4 +1,4 @@ -//===--- ARCEntryPointBuilder.h ----------------------------*- C++ -*------===// +//===--- ARCEntryPointBuilder.h ---------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SIL/Linker.h b/lib/SIL/Linker.h index 9e3118b10eeda..2be10b291488f 100644 --- a/lib/SIL/Linker.h +++ b/lib/SIL/Linker.h @@ -1,4 +1,4 @@ -//===--- Linker.h --------------------------------------------*- C++ -*----===// +//===--- Linker.h -----------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SIL/LoopInfo.cpp b/lib/SIL/LoopInfo.cpp index 933ebb057c59b..ed6e64401b7e7 100644 --- a/lib/SIL/LoopInfo.cpp +++ b/lib/SIL/LoopInfo.cpp @@ -1,4 +1,4 @@ -//===-------------- LoopInfo.cpp - SIL Loop Analysis -----*- C++ -*--------===// +//===-------------- LoopInfo.cpp - SIL Loop Analysis ------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/ARC/ARCBBState.h b/lib/SILOptimizer/ARC/ARCBBState.h index 7eff7eebecbd1..1daecceb653f8 100644 --- a/lib/SILOptimizer/ARC/ARCBBState.h +++ b/lib/SILOptimizer/ARC/ARCBBState.h @@ -1,4 +1,4 @@ -//===--- ARCBBState.h --------------------------------------*- C++ -*------===// +//===--- ARCBBState.h -------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/ARC/RCStateTransition.def b/lib/SILOptimizer/ARC/RCStateTransition.def index a27647ca3bd96..7e1d01faf10c6 100644 --- a/lib/SILOptimizer/ARC/RCStateTransition.def +++ b/lib/SILOptimizer/ARC/RCStateTransition.def @@ -1,4 +1,4 @@ -//===--- RCStateTransition.def -------------------------------*- C++ -*----===// +//===--- RCStateTransition.def ----------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/ARC/RCStateTransition.h b/lib/SILOptimizer/ARC/RCStateTransition.h index 35488da93f34c..eb7f37ef20170 100644 --- a/lib/SILOptimizer/ARC/RCStateTransition.h +++ b/lib/SILOptimizer/ARC/RCStateTransition.h @@ -1,4 +1,4 @@ -//===--- RCStateTransition.h -------------------------------*- C++ -*------===// +//===--- RCStateTransition.h ------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/ARC/RCStateTransitionVisitors.h b/lib/SILOptimizer/ARC/RCStateTransitionVisitors.h index b3eb483047258..d979777ae4b2f 100644 --- a/lib/SILOptimizer/ARC/RCStateTransitionVisitors.h +++ b/lib/SILOptimizer/ARC/RCStateTransitionVisitors.h @@ -1,4 +1,4 @@ -//===--- RCStateTransitionVisitors.h -------------------------*- C++ -*----===// +//===--- RCStateTransitionVisitors.h ----------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/ARC/RefCountState.h b/lib/SILOptimizer/ARC/RefCountState.h index 50964fcc68ab1..438db61b7c8e7 100644 --- a/lib/SILOptimizer/ARC/RefCountState.h +++ b/lib/SILOptimizer/ARC/RefCountState.h @@ -1,4 +1,4 @@ -//===--- RefCountState.h - Represents a Reference Count -----*- C++ -*-----===// +//===--- RefCountState.h - Represents a Reference Count ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/Analysis/IVAnalysis.cpp b/lib/SILOptimizer/Analysis/IVAnalysis.cpp index 5e64e928d549c..d6eb345993d7c 100644 --- a/lib/SILOptimizer/Analysis/IVAnalysis.cpp +++ b/lib/SILOptimizer/Analysis/IVAnalysis.cpp @@ -1,4 +1,4 @@ -//===----------------- IVAnalysis.cpp - SIL IV Analysis -------*- C++ -*---===// +//===----------------- IVAnalysis.cpp - SIL IV Analysis ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/Analysis/LoopAnalysis.cpp b/lib/SILOptimizer/Analysis/LoopAnalysis.cpp index 96075bb858de4..585df424eb72f 100644 --- a/lib/SILOptimizer/Analysis/LoopAnalysis.cpp +++ b/lib/SILOptimizer/Analysis/LoopAnalysis.cpp @@ -1,4 +1,4 @@ -//===-------------- LoopAnalysis.cpp - SIL Loop Analysis -*- C++ -*--------===// +//===-------------- LoopAnalysis.cpp - SIL Loop Analysis --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/Analysis/ValueTracking.cpp b/lib/SILOptimizer/Analysis/ValueTracking.cpp index a444478e175e2..d477813bd601d 100644 --- a/lib/SILOptimizer/Analysis/ValueTracking.cpp +++ b/lib/SILOptimizer/Analysis/ValueTracking.cpp @@ -1,4 +1,4 @@ -//===-- ValueTracking.cpp - SIL Value Tracking Analysis --------*- C++ -*--===// +//===-- ValueTracking.cpp - SIL Value Tracking Analysis ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp b/lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp index 8f13b8f6d34b7..1cdc67772afa9 100644 --- a/lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp +++ b/lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp @@ -1,4 +1,4 @@ -//===----- ArrayBoundsCheckOpts.cpp - Bounds check elim ---*- C++ -*-------===// +//===----- ArrayBoundsCheckOpts.cpp - Bounds check elim ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/LoopTransforms/LICM.cpp b/lib/SILOptimizer/LoopTransforms/LICM.cpp index 7b2c7d80fec53..4e91c59e206bf 100644 --- a/lib/SILOptimizer/LoopTransforms/LICM.cpp +++ b/lib/SILOptimizer/LoopTransforms/LICM.cpp @@ -1,4 +1,4 @@ -//===--------- LICM.cpp - Loop invariant code motion ------*- C++ -*-------===// +//===--------- LICM.cpp - Loop invariant code motion ------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/LoopTransforms/LoopRotate.cpp b/lib/SILOptimizer/LoopTransforms/LoopRotate.cpp index 75b097ad974a9..35d7f66d5d887 100644 --- a/lib/SILOptimizer/LoopTransforms/LoopRotate.cpp +++ b/lib/SILOptimizer/LoopTransforms/LoopRotate.cpp @@ -1,4 +1,4 @@ -//===--------- LoopRotate.cpp - Loop structure simplify -*- C++ -*---------===// +//===--------- LoopRotate.cpp - Loop structure simplify ---------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp b/lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp index 6e9cb8c6a7fe3..f80b7c27ecd77 100644 --- a/lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp +++ b/lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp @@ -1,4 +1,4 @@ -//===--------- LoopUnroll.cpp - Loop unrolling ------------*- C++ -*-------===// +//===--------- LoopUnroll.cpp - Loop unrolling ------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/SILCombiner/SILCombiner.h b/lib/SILOptimizer/SILCombiner/SILCombiner.h index 2a26ea7c41639..ec29970316cb1 100644 --- a/lib/SILOptimizer/SILCombiner/SILCombiner.h +++ b/lib/SILOptimizer/SILCombiner/SILCombiner.h @@ -1,4 +1,4 @@ -//===-------------------------- SILCombiner.h -----------------*- C++ -*---===// +//===-------------------------- SILCombiner.h -------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/Transforms/MergeCondFail.cpp b/lib/SILOptimizer/Transforms/MergeCondFail.cpp index 3158e43c11939..e24fb9fb57fc3 100644 --- a/lib/SILOptimizer/Transforms/MergeCondFail.cpp +++ b/lib/SILOptimizer/Transforms/MergeCondFail.cpp @@ -1,4 +1,4 @@ -//===-- MergeCondFail.cpp - Merge cond_fail instructions -*- C++ -*-------===// +//===-- MergeCondFail.cpp - Merge cond_fail instructions -------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/Transforms/RemovePin.cpp b/lib/SILOptimizer/Transforms/RemovePin.cpp index 6f1d99708544c..af6f1b82707fb 100644 --- a/lib/SILOptimizer/Transforms/RemovePin.cpp +++ b/lib/SILOptimizer/Transforms/RemovePin.cpp @@ -1,4 +1,4 @@ -//===------- RemovePin.cpp - StrongPin/Unpin removal -----*- C++ -*-------===// +//===------- RemovePin.cpp - StrongPin/Unpin removal -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/UtilityPasses/BasicCalleePrinter.cpp b/lib/SILOptimizer/UtilityPasses/BasicCalleePrinter.cpp index aae9db199b5a3..e144e7d79a8b5 100644 --- a/lib/SILOptimizer/UtilityPasses/BasicCalleePrinter.cpp +++ b/lib/SILOptimizer/UtilityPasses/BasicCalleePrinter.cpp @@ -1,4 +1,4 @@ -//===-- BasicCalleePrinter.cpp - Callee cache printing pass ---*- C++ -*---===// +//===-- BasicCalleePrinter.cpp - Callee cache printing pass -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/SILOptimizer/UtilityPasses/LoopInfoPrinter.cpp b/lib/SILOptimizer/UtilityPasses/LoopInfoPrinter.cpp index d5f5bfa9223e1..6315a2651c605 100644 --- a/lib/SILOptimizer/UtilityPasses/LoopInfoPrinter.cpp +++ b/lib/SILOptimizer/UtilityPasses/LoopInfoPrinter.cpp @@ -1,4 +1,4 @@ -//===------------ LoopInfoPrinter.cpp - Print SIL Loop Info -*- C++ -*-----===// +//===------------ LoopInfoPrinter.cpp - Print SIL Loop Info -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Serialization/DeserializeSIL.h b/lib/Serialization/DeserializeSIL.h index dd4fe94e3f885..ca9be7ced6948 100644 --- a/lib/Serialization/DeserializeSIL.h +++ b/lib/Serialization/DeserializeSIL.h @@ -1,4 +1,4 @@ -//===--- DeserializeSIL.h - Read SIL ---------------------------*- C++ -*--===// +//===--- DeserializeSIL.h - Read SIL ----------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/core/IntegerArithmetic.swift.gyb b/stdlib/public/core/IntegerArithmetic.swift.gyb index e0c0679631646..d6c46369efe9a 100644 --- a/stdlib/public/core/IntegerArithmetic.swift.gyb +++ b/stdlib/public/core/IntegerArithmetic.swift.gyb @@ -1,4 +1,4 @@ -//===--- IntegerArithmetic.swift.gyb -------------------------*- swift -*--===// +//===--- IntegerArithmetic.swift.gyb --------------------------*- swift -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/core/Interval.swift.gyb b/stdlib/public/core/Interval.swift.gyb index 016cfb8f56f34..2cbb54babbed4 100644 --- a/stdlib/public/core/Interval.swift.gyb +++ b/stdlib/public/core/Interval.swift.gyb @@ -1,4 +1,4 @@ -//===--- Interval.swift.gyb ----------------------------------*- swift -*--===// +//===--- Interval.swift.gyb -----------------------------------*- swift -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/Enum.cpp b/stdlib/public/runtime/Enum.cpp index 73824b05e5695..50216d6347f44 100644 --- a/stdlib/public/runtime/Enum.cpp +++ b/stdlib/public/runtime/Enum.cpp @@ -1,4 +1,4 @@ -//===--- Enum.cpp - Runtime declarations for enums -------------*- C++ -*--===// +//===--- Enum.cpp - Runtime declarations for enums --------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/ExistentialMetadataImpl.h b/stdlib/public/runtime/ExistentialMetadataImpl.h index 94953ce3ba80e..f91810bc834be 100644 --- a/stdlib/public/runtime/ExistentialMetadataImpl.h +++ b/stdlib/public/runtime/ExistentialMetadataImpl.h @@ -1,4 +1,4 @@ -//===--- ExistentialMetadataImpl.h - Existential metadata ------*- C++ -*--===// +//===--- ExistentialMetadataImpl.h - Existential metadata -------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/Leaks.mm b/stdlib/public/runtime/Leaks.mm index 30f4349266f7c..b79595875e3ec 100644 --- a/stdlib/public/runtime/Leaks.mm +++ b/stdlib/public/runtime/Leaks.mm @@ -1,4 +1,4 @@ -//===--- Leaks.mm ----------------------------------------*- C++ -*--------===// +//===--- Leaks.mm -----------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/MetadataCache.h b/stdlib/public/runtime/MetadataCache.h index 14be2f1db75ae..b83277ccc9e69 100644 --- a/stdlib/public/runtime/MetadataCache.h +++ b/stdlib/public/runtime/MetadataCache.h @@ -1,4 +1,4 @@ -//===--- MetadataCache.h - Implements the metadata cache -------*- C++ -*--===// +//===--- MetadataCache.h - Implements the metadata cache --------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/MetadataImpl.h b/stdlib/public/runtime/MetadataImpl.h index 9aefdeec743a4..f75f57d36f981 100644 --- a/stdlib/public/runtime/MetadataImpl.h +++ b/stdlib/public/runtime/MetadataImpl.h @@ -1,4 +1,4 @@ -//===--- MetadataImpl.h - Metadata implementation routines -----*- C++ -*--===// +//===--- MetadataImpl.h - Metadata implementation routines ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/runtime/Private.h b/stdlib/public/runtime/Private.h index 661abd8398764..1443a5b72966c 100644 --- a/stdlib/public/runtime/Private.h +++ b/stdlib/public/runtime/Private.h @@ -1,4 +1,4 @@ -//===--- Private.h - Private runtime declarations --------------*- C++ -*--===// +//===--- Private.h - Private runtime declarations ---------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // From 022efe94c4aed10515fe561cefb425cb5097f065 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 4 Jan 2016 09:56:23 +0100 Subject: [PATCH 3/4] Reference file names (and not paths) in file headers. --- include/swift/Basic/Program.h | 2 +- lib/Basic/Default/TaskQueue.inc | 2 +- lib/Basic/Unix/TaskQueue.inc | 2 +- unittests/runtime/Enum.cpp | 2 +- unittests/runtime/Metadata.cpp | 2 +- unittests/runtime/weak.mm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/swift/Basic/Program.h b/include/swift/Basic/Program.h index c7a33faf31941..4561793f5f03d 100644 --- a/include/swift/Basic/Program.h +++ b/include/swift/Basic/Program.h @@ -1,4 +1,4 @@ -//===- swift/Basic/Program.h ------------------------------------*- C++ -*-===// +//===- Program.h ------------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Basic/Default/TaskQueue.inc b/lib/Basic/Default/TaskQueue.inc index 36817ba068d32..118df97464391 100644 --- a/lib/Basic/Default/TaskQueue.inc +++ b/lib/Basic/Default/TaskQueue.inc @@ -1,4 +1,4 @@ -//===--- Default/TaskQueue.inc - Default serial TaskQueue -------*- C++ -*-===// +//===--- TaskQueue.inc - Default serial TaskQueue ---------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/lib/Basic/Unix/TaskQueue.inc b/lib/Basic/Unix/TaskQueue.inc index 27fee63b1a15d..3183aa2b17f8e 100644 --- a/lib/Basic/Unix/TaskQueue.inc +++ b/lib/Basic/Unix/TaskQueue.inc @@ -1,4 +1,4 @@ -//===--- Unix/TaskQueue.inc - Unix-specific TaskQueue -----------*- C++ -*-===// +//===--- TaskQueue.inc - Unix-specific TaskQueue ----------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // diff --git a/unittests/runtime/Enum.cpp b/unittests/runtime/Enum.cpp index 084ac6ca92224..770ff309ea003 100644 --- a/unittests/runtime/Enum.cpp +++ b/unittests/runtime/Enum.cpp @@ -1,4 +1,4 @@ -//===- swift/unittests/runtime/Enum.cpp - Enum tests ----------------------===// +//===- Enum.cpp - Enum tests ----------------------------------------------===// // // This source file is part of the Swift.org open source project // diff --git a/unittests/runtime/Metadata.cpp b/unittests/runtime/Metadata.cpp index f020f378596de..ff65073984b3d 100644 --- a/unittests/runtime/Metadata.cpp +++ b/unittests/runtime/Metadata.cpp @@ -1,4 +1,4 @@ -//===- swift/unittests/runtime/Metadata.cpp - Metadata tests --------------===// +//===- Metadata.cpp - Metadata tests --------------------------------------===// // // This source file is part of the Swift.org open source project // diff --git a/unittests/runtime/weak.mm b/unittests/runtime/weak.mm index c5a4c0340b847..a5f866736c5e0 100644 --- a/unittests/runtime/weak.mm +++ b/unittests/runtime/weak.mm @@ -1,4 +1,4 @@ -//===- swift/unittests/runtime/weak.mm - Weak-pointer tests ---------------===// +//===- weak.mm - Weak-pointer tests ---------------------------------------===// // // This source file is part of the Swift.org open source project // From fd608f3d85a085a65bec6fb33f78f40b3d27fa1b Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 4 Jan 2016 10:02:46 +0100 Subject: [PATCH 4/4] Fix incorrect file names in file headers. --- lib/SILOptimizer/IPO/GlobalOpt.cpp | 2 +- stdlib/public/Glibc/module.freebsd.map.in | 2 +- stdlib/public/core/Range.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/SILOptimizer/IPO/GlobalOpt.cpp b/lib/SILOptimizer/IPO/GlobalOpt.cpp index c5a686491bf9e..7c917bca46e22 100644 --- a/lib/SILOptimizer/IPO/GlobalOpt.cpp +++ b/lib/SILOptimizer/IPO/GlobalOpt.cpp @@ -1,4 +1,4 @@ -//===---------- SILGlobalOpt.cpp - Optimize global initializers -----------===// +//===--- GlobalOpt.cpp - Optimize global initializers ---------------------===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/Glibc/module.freebsd.map.in b/stdlib/public/Glibc/module.freebsd.map.in index 1be2a192b58fc..c60664e8a01b6 100644 --- a/stdlib/public/Glibc/module.freebsd.map.in +++ b/stdlib/public/Glibc/module.freebsd.map.in @@ -1,4 +1,4 @@ -//===--- module.map -------------------------------------------------------===// +//===--- module.freebsd.map.in --------------------------------------------===// // // This source file is part of the Swift.org open source project // diff --git a/stdlib/public/core/Range.swift b/stdlib/public/core/Range.swift index 61b1fcde9d1be..bac6211b619d5 100644 --- a/stdlib/public/core/Range.swift +++ b/stdlib/public/core/Range.swift @@ -1,4 +1,4 @@ -//===- Range.swift.gyb ----------------------------------------*- swift -*-===// +//===- Range.swift --------------------------------------------*- swift -*-===// // // This source file is part of the Swift.org open source project //