Skip to content

[lldb] clang-format comment in ReconstructType #3189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4406,7 +4406,10 @@ swift::TypeBase *SwiftASTContext::ReconstructType(ConstString mangled_typename,
*ast_ctx, mangled_typename.GetStringRef())
.getPointer();

// Objective-C classes sometimes have private subclasses that are invisible to the Swift compiler because they are declared and defined in a .m file. If we can't reconstruct an ObjC type, walk up the type hierarchy until we find something we can import, or until we run out of types
// Objective-C classes sometimes have private subclasses that are invisible to
// the Swift compiler because they are declared and defined in a .m file. If
// we can't reconstruct an ObjC type, walk up the type hierarchy until we find
// something we can import, or until we run out of types
while (!found_type) {
CompilerType clang_type = GetAsClangType(mangled_typename);
if (!clang_type)
Expand Down