Skip to content

Commit 79212c9

Browse files
authored
Merge pull request #9472 from practicalswift/gardening-20170510
2 parents 109c213 + a42cb6c commit 79212c9

File tree

6 files changed

+5
-18
lines changed

6 files changed

+5
-18
lines changed

include/swift/ABI/HeapObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- HeapObject.h - ABI constants for heap objects -----------*- C++ *-===//
1+
//===--- HeapObject.h - ABI constants for heap objects ----------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

include/swift/ABI/KeyPath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- KeyPath.h - ABI constants for key path objects ----------*- C++ *-===//
1+
//===--- KeyPath.h - ABI constants for key path objects ---------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -329,19 +329,6 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
329329
}
330330
return true;
331331
}
332-
333-
bool lineNumberIsSane(IRBuilder &Builder, unsigned Line) {
334-
if (IGM.IRGen.Opts.Optimize)
335-
return true;
336-
337-
// Assert monotonically increasing line numbers within the same basic block;
338-
llvm::BasicBlock *CurBasicBlock = Builder.GetInsertBlock();
339-
if (CurBasicBlock == LastBasicBlock) {
340-
return Line >= LastDebugLoc.Line;
341-
}
342-
LastBasicBlock = CurBasicBlock;
343-
return true;
344-
}
345332
#endif
346333

347334
llvm::DIFile *getOrCreateFile(StringRef Filename) {

lib/Migrator/TypeOfMigratorPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TypeOfMigratorPass.cpp ------------------------------------------===//
1+
//===--- TypeOfMigratorPass.cpp -------------------------------------------===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/SwiftShims/KeyPath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- KeyPath.h - ABI constants for key path objects ----------*- C++ *-===//
1+
//===--- KeyPath.h - ABI constants for key path objects ---------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/SwiftShims/NSIndexPathShims.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- NSIndexPathShims.h - Foundation declarations for IndexPath overlay -===//
1+
//===--- NSIndexPathShims.h - Found. decl. for IndexPath overl. -*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

0 commit comments

Comments
 (0)