Skip to content

Commit 4239318

Browse files
committed
---
yaml --- r: 341497 b: refs/heads/rxwei-patch-1 c: 9f26fc7 h: refs/heads/master i: 341495: 11192cf
1 parent e89365d commit 4239318

File tree

75 files changed

+1068
-634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1068
-634
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: cb8f249e7555b13c3ff28ed802866df391bc24bc
1018+
refs/heads/rxwei-patch-1: 9f26fc7fe72a2d1ba53b06e97f46830f808e4be3
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -915,11 +915,14 @@ else()
915915
find_package(LibXml2)
916916
endif()
917917

918-
if(LLVM_ENABLE_LIBEDIT)
919-
find_package(LibEdit REQUIRED)
920-
else()
921-
find_package(LibEdit)
918+
# You need libedit linked in order to check if you have el_wgets.
919+
cmake_push_check_state()
920+
list(APPEND CMAKE_REQUIRED_LIBRARIES "edit")
921+
check_symbol_exists(el_wgets "histedit.h" HAVE_EL_WGETS)
922+
if(HAVE_EL_WGETS)
923+
set(HAVE_UNICODE_LIBEDIT 1)
922924
endif()
925+
cmake_pop_check_state()
923926

924927
check_symbol_exists(wait4 "sys/wait.h" HAVE_WAIT4)
925928

branches/rxwei-patch-1/cmake/modules/FindLibEdit.cmake

Lines changed: 0 additions & 62 deletions
This file was deleted.

branches/rxwei-patch-1/include/swift/AST/Decl.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ namespace swift {
7070
class GenericSignature;
7171
class GenericTypeParamDecl;
7272
class GenericTypeParamType;
73+
class LazyResolver;
7374
class ModuleDecl;
7475
class EnumCaseDecl;
7576
class EnumElementDecl;
@@ -3955,7 +3956,10 @@ class ClassDecl final : public NominalTypeDecl {
39553956

39563957
/// Determine whether this class inherits the convenience initializers
39573958
/// from its superclass.
3958-
bool inheritsSuperclassInitializers();
3959+
///
3960+
/// \param resolver Used to resolve the signatures of initializers, which is
3961+
/// required for name lookup.
3962+
bool inheritsSuperclassInitializers(LazyResolver *resolver);
39593963

39603964
/// Marks that this class inherits convenience initializers from its
39613965
/// superclass.
@@ -4139,7 +4143,7 @@ class ProtocolDecl final : public NominalTypeDecl {
41394143

41404144
bool existentialConformsToSelfSlow();
41414145

4142-
bool existentialTypeSupportedSlow();
4146+
bool existentialTypeSupportedSlow(LazyResolver *resolver);
41434147

41444148
ArrayRef<ProtocolDecl *> getInheritedProtocolsSlow();
41454149

@@ -4265,12 +4269,12 @@ class ProtocolDecl final : public NominalTypeDecl {
42654269
/// conforming to this protocol. This is only permitted if the types of
42664270
/// all the members do not contain any associated types, and do not
42674271
/// contain 'Self' in 'parameter' or 'other' position.
4268-
bool existentialTypeSupported() const {
4272+
bool existentialTypeSupported(LazyResolver *resolver) const {
42694273
if (Bits.ProtocolDecl.ExistentialTypeSupportedValid)
42704274
return Bits.ProtocolDecl.ExistentialTypeSupported;
42714275

42724276
return const_cast<ProtocolDecl *>(this)
4273-
->existentialTypeSupportedSlow();
4277+
->existentialTypeSupportedSlow(resolver);
42744278
}
42754279

42764280
/// Explicitly set the existentialTypeSupported flag, without computing

branches/rxwei-patch-1/include/swift/AST/DiagnosticsClangImporter.def

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ WARNING(implicit_bridging_header_imported_from_module,none,
9191
"is deprecated and will be removed in a later version of Swift",
9292
(StringRef, Identifier))
9393

94-
WARNING(clang_vfs_overlay_is_ignored,none,
95-
"ignoring '-ivfsoverlay' options provided to '-Xcc' in favor of "
96-
"'-vfsoverlay'", ())
97-
9894
#ifndef DIAG_NO_UNDEF
9995
# if defined(DIAG)
10096
# undef DIAG

0 commit comments

Comments
 (0)