mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[cxx-interop] Remove symbolic import mode
Importing C++ class templates in symbolic mode has proven to be problematic in interaction with other compiler features, and it isn't used widely. This change removes the feature. rdar://150528798
This commit is contained in:
@@ -376,11 +376,6 @@ EXPERIMENTAL_FEATURE(ParserASTGen, false)
|
||||
/// corresponding syntax tree.
|
||||
EXPERIMENTAL_FEATURE(BuiltinMacros, false)
|
||||
|
||||
/// Import C++ class templates as semantically-meaningless symbolic
|
||||
/// Swift types and C++ methods as symbolic functions with blank
|
||||
/// signatures.
|
||||
EXPERIMENTAL_FEATURE(ImportSymbolicCXXDecls, false)
|
||||
|
||||
/// Generate bindings for functions that 'throw' in the C++ section of the generated Clang header.
|
||||
EXPERIMENTAL_FEATURE(GenerateBindingsForThrowingFunctionsInCXX, false)
|
||||
|
||||
|
||||
@@ -690,12 +690,6 @@ public:
|
||||
/// of the provided baseType.
|
||||
void diagnoseMemberValue(const DeclName &name, const Type &baseType) override;
|
||||
|
||||
/// Enable the symbolic import experimental feature for the given callback.
|
||||
void withSymbolicFeatureEnabled(llvm::function_ref<void(void)> callback);
|
||||
|
||||
/// Returns true when the symbolic import experimental feature is enabled.
|
||||
bool isSymbolicImportEnabled() const;
|
||||
|
||||
const clang::TypedefType *getTypeDefForCXXCFOptionsDefinition(
|
||||
const clang::Decl *candidateDecl) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user