Skip to content

Commit 0f9d2c1

Browse files
committed
add some newlines at the end of files to avoid "dangerous" implementation
defined behavior in C++98. I thought that C++'11 fixed this though, so it isn't clear why clang is complaining about it.
1 parent 2f9e91d commit 0f9d2c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/swift/Remote/CMemoryReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ class CMemoryReader final : public MemoryReader {
7575
}
7676
}
7777

78-
#endif
78+
#endif

include/swift/Remote/InProcessMemoryReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ class InProcessMemoryReader final : public MemoryReader {
5555
}
5656
}
5757

58-
#endif
58+
#endif

lib/IRGen/GenBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,4 +854,4 @@ if (Builtin.ID == BuiltinValueKind::id) { \
854854
}
855855

856856
llvm_unreachable("IRGen unimplemented for this builtin!");
857-
}
857+
}

0 commit comments

Comments
 (0)