Skip to content

Commit 813094e

Browse files
committed
Move LanguageOptions into TypeSystemSwift (NFC)
1 parent b09f866 commit 813094e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,6 @@ class SwiftASTContext : public TypeSystemSwift {
125125
public:
126126
typedef std::set<TypeOrDecl, EitherComparator> TypesOrDecls;
127127

128-
class LanguageFlags {
129-
public:
130-
enum : uint64_t {
131-
eIsIndirectEnumCase = 0x1ULL,
132-
eIgnoreInstancePointerness = 0x2ULL
133-
};
134-
135-
private:
136-
LanguageFlags() = delete;
137-
};
138-
139128
/// Provide the global LLVMContext.
140129
static llvm::LLVMContext &GetGlobalLLVMContext();
141130

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwift.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ class TypeSystemSwift : public TypeSystem {
9797
static ConstString GetPluginNameStatic();
9898
/// \}
9999

100+
class LanguageFlags {
101+
public:
102+
enum : uint64_t {
103+
eIsIndirectEnumCase = 0x1ULL,
104+
// FIXME: This appears to be unused.
105+
eIgnoreInstancePointerness = 0x2ULL
106+
};
107+
108+
private:
109+
LanguageFlags() = delete;
110+
};
111+
100112
static LanguageSet GetSupportedLanguagesForTypes();
101113
virtual SwiftASTContext *GetSwiftASTContext() = 0;
102114
virtual Module *GetModule() const = 0;

0 commit comments

Comments
 (0)