Skip to content

Commit fd8843b

Browse files
committed
fix minor typos
1 parent 2bedd56 commit fd8843b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ llvm::Optional<uint64_t> SwiftLanguageRuntimeImpl::GetMemberVariableOffset(
496496
"[GetMemberVariableOffset] asked to resolve offset for member %s",
497497
member_name.str().c_str());
498498

499-
// Using the module context for RemoteAST is cheaper bit only safe
499+
// Using the module context for RemoteAST is cheaper but only safe
500500
// when there is no dynamic type resolution involved.
501501
// If this is already in the expression context, ask RemoteAST.
502502
if (instance_type.GetTypeSystem().isa_and_nonnull<SwiftASTContext>())
@@ -2361,8 +2361,8 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_ClangType(
23612361

23622362
static bool IsIndirectEnumCase(ValueObject &valobj) {
23632363
return (valobj.GetLanguageFlags() &
2364-
SwiftASTContext::LanguageFlags::eIsIndirectEnumCase) ==
2365-
SwiftASTContext::LanguageFlags::eIsIndirectEnumCase;
2364+
TypeSystemSwift::LanguageFlags::eIsIndirectEnumCase) ==
2365+
TypeSystemSwift::LanguageFlags::eIsIndirectEnumCase;
23662366
}
23672367

23682368
static bool CouldHaveDynamicValue(ValueObject &in_value) {

0 commit comments

Comments
 (0)