-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stdlib] Added POSIXErrorCode for Linux
- Loading branch information
1 parent
ebd27a2
commit 8157194
Showing
3 changed files
with
349 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
//===--- ResolveCondition.cpp - Resolution of Build Configurations --------===// | ||
// | ||
// This source file is part of the Swift.org open source project | ||
// | ||
// Copyright (c) 2017 Apple Inc. and the Swift project authors | ||
// Licensed under Apache License v2.0 with Runtime Library Exception | ||
// | ||
// See https://swift.org/LICENSE.txt for license information | ||
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors | ||
// | ||
//===----------------------------------------------------------------------===// | ||
/// | ||
/// \file | ||
/// This file implements condition resolution for Swift | ||
/// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef SWIFT_AST_RESOLVE_CONDITION_H | ||
#define SWIFT_AST_RESOLVE_CONDITION_H | ||
|
||
#include "swift/AST/ASTContext.h" | ||
#include "swift/AST/LazyResolver.h" | ||
|
||
namespace swift { | ||
class ConditionResolver : public LazyMemberLoader { | ||
public: | ||
virtual void loadAllMembers(Decl *D, uint64_t unused) override; | ||
void loadBody(Stmt *D); | ||
|
||
private: | ||
void resolveCondition(IterableDeclContext *IDC, | ||
IfConfigDecl *outermostConfig, | ||
IfConfigDecl *recur); | ||
}; | ||
}; | ||
|
||
#endif /* SWIFT_AST_RESOLVE_CONDITION_H */ |
Oops, something went wrong.