File tree Expand file tree Collapse file tree 3 files changed +349
-34
lines changed Expand file tree Collapse file tree 3 files changed +349
-34
lines changed Original file line number Diff line number Diff line change
1
+ // ===--- ResolveCondition.cpp - Resolution of Build Configurations --------===//
2
+ //
3
+ // This source file is part of the Swift.org open source project
4
+ //
5
+ // Copyright (c) 2017 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ // ===----------------------------------------------------------------------===//
12
+ // /
13
+ // / \file
14
+ // / This file implements condition resolution for Swift
15
+ // /
16
+ // ===----------------------------------------------------------------------===//
17
+
18
+ #ifndef SWIFT_AST_RESOLVE_CONDITION_H
19
+ #define SWIFT_AST_RESOLVE_CONDITION_H
20
+
21
+ #include " swift/AST/ASTContext.h"
22
+ #include " swift/AST/LazyResolver.h"
23
+
24
+ namespace swift {
25
+ class ConditionResolver : public LazyMemberLoader {
26
+ public:
27
+ virtual void loadAllMembers (Decl *D, uint64_t unused) override ;
28
+ void loadBody (Stmt *D);
29
+
30
+ private:
31
+ void resolveCondition (IterableDeclContext *IDC,
32
+ IfConfigDecl *outermostConfig,
33
+ IfConfigDecl *recur);
34
+ };
35
+ };
36
+
37
+ #endif /* SWIFT_AST_RESOLVE_CONDITION_H */
You can’t perform that action at this time.
0 commit comments