Skip to content

Commit

Permalink
[stdlib] Added POSIXErrorCode for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda authored and CodaFi committed Jan 10, 2017
1 parent ebd27a2 commit 8157194
Show file tree
Hide file tree
Showing 3 changed files with 349 additions and 34 deletions.
37 changes: 37 additions & 0 deletions include/swift/AST/ResolveCondition.h
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 */
Loading

0 comments on commit 8157194

Please sign in to comment.