File tree Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 38
38
#include < mutex>
39
39
40
40
#include " swift/AST/ImportCache.h"
41
- #include " swift/AST/Module.h"
42
- #include " swift/AST/Type.h"
43
- #include " swift/AST/Types.h"
44
41
#include " swift/Basic/InitializeSwiftModules.h"
45
42
#include " swift/Demangling/ManglingMacros.h"
46
43
#include " llvm/Support/ConvertUTF.h"
Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ llvm::Optional<uint64_t> SwiftLanguageRuntimeImpl::GetMemberVariableOffset(
496
496
" [GetMemberVariableOffset] asked to resolve offset for member %s" ,
497
497
member_name.str ().c_str ());
498
498
499
- // Using the module context for RemoteAST is cheaper bit only safe
499
+ // Using the module context for RemoteAST is cheaper but only safe
500
500
// when there is no dynamic type resolution involved.
501
501
// If this is already in the expression context, ask RemoteAST.
502
502
if (instance_type.GetTypeSystem ().isa_and_nonnull <SwiftASTContext>())
@@ -2361,8 +2361,8 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_ClangType(
2361
2361
2362
2362
static bool IsIndirectEnumCase (ValueObject &valobj) {
2363
2363
return (valobj.GetLanguageFlags () &
2364
- SwiftASTContext ::LanguageFlags::eIsIndirectEnumCase) ==
2365
- SwiftASTContext ::LanguageFlags::eIsIndirectEnumCase;
2364
+ TypeSystemSwift ::LanguageFlags::eIsIndirectEnumCase) ==
2365
+ TypeSystemSwift ::LanguageFlags::eIsIndirectEnumCase;
2366
2366
}
2367
2367
2368
2368
static bool CouldHaveDynamicValue (ValueObject &in_value) {
Original file line number Diff line number Diff line change 19
19
#include " DWARFDefines.h"
20
20
#include " SymbolFileDWARF.h"
21
21
22
- #include " swift/AST/ASTContext.h"
23
- #include " swift/AST/Decl.h"
24
- #include " swift/Demangling/Demangle.h"
25
-
26
- #include " clang/AST/DeclObjC.h"
27
-
28
22
#include " Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.h"
29
23
#include " Plugins/TypeSystem/Clang/TypeSystemClang.h"
30
24
#include " Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h"
38
32
#include " lldb/Utility/Log.h"
39
33
#include " lldb/Utility/Status.h"
40
34
35
+ #include " clang/AST/DeclObjC.h"
36
+
41
37
using namespace lldb ;
42
38
using namespace lldb_private ;
43
39
using namespace lldb_private ::dwarf;
Original file line number Diff line number Diff line change 34
34
#include " swift/ClangImporter/ClangImporter.h"
35
35
#include " swift/../../lib/ClangImporter/ClangAdapter.h"
36
36
#include " swift/Frontend/Frontend.h"
37
- #include " swift/AST/ClangModuleLoader.h"
38
- #include " swift/Basic/Version.h"
39
- #include " swift/Strings.h"
40
37
41
38
#include " clang/APINotes/APINotesManager.h"
42
39
#include " clang/APINotes/APINotesReader.h"
You can’t perform that action at this time.
0 commit comments