File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -753,13 +753,6 @@ namespace swift {
753753 return EffectiveLanguageVersion.isVersionAtLeast (major, minor);
754754 }
755755
756- // / Whether the C++ interoperability compatibility version is at least
757- // / 'major'.
758- bool isCxxInteropCompatVersionAtLeast (unsigned major,
759- unsigned minor = 0 ) const {
760- return cxxInteropCompatVersion.isVersionAtLeast (major, minor);
761- }
762-
763756 // / Sets the "_hasAtomicBitWidth" conditional.
764757 void setHasAtomicBitWidth (llvm::Triple triple);
765758
Original file line number Diff line number Diff line change @@ -624,17 +624,6 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
624624 void getMangledName (clang::MangleContext *mangler,
625625 const clang::NamedDecl *clangDecl, raw_ostream &os);
626626
627- // / Whether the C++ interoperability compatibility version is at least
628- // / 'major'.
629- // /
630- // / Use the
631- // / `isCxxInteropCompatVersionAtLeast(version::getUpcomingCxxInteropCompatVersion())`
632- // / check when making a source breaking C++ interop change.
633- bool isCxxInteropCompatVersionAtLeast (unsigned major,
634- unsigned minor = 0 ) const {
635- return SwiftContext.LangOpts .isCxxInteropCompatVersionAtLeast (major, minor);
636- }
637-
638627private:
639628 // / The Importer may be configured to load modules of a different OS Version
640629 // / than the underlying Swift compilation. This is the `TargetOptions`
You can’t perform that action at this time.
0 commit comments