Skip to content

Commit 79ba6fd

Browse files
Merge pull request #9113 from felipepiovezan/felipe/missing_enums_swift
[lldb] Remove ifdef around upstreamed swift enumerations
2 parents 5489de0 + db0cb2d commit 79ba6fd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lldb/source/Core/Section.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,7 @@ bool Section::ContainsOnlyDebugInfo() const {
462462
case eSectionTypeDWARFGNUDebugAltLink:
463463
case eSectionTypeCTF:
464464
case eSectionTypeLLDBTypeSummaries:
465-
#ifdef LLDB_ENABLE_SWIFT
466465
case eSectionTypeSwiftModules:
467-
#endif
468466
return true;
469467
}
470468
return false;

lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,7 @@ bool CPlusPlusLanguage::IsCPPMangledName(llvm::StringRef name) {
384384
case Mangled::eManglingSchemeNone:
385385
case Mangled::eManglingSchemeRustV0:
386386
case Mangled::eManglingSchemeD:
387-
#ifdef LLDB_ENABLE_SWIFT
388387
case Mangled::eManglingSchemeSwift:
389-
#endif
390388
return false;
391389
}
392390
}

0 commit comments

Comments
 (0)