Files
swift-mirror/include/swift/AST/ModuleInterfacePrinting.h
Dmitri Hrybenko 8fcb7c428c AST printer: print declarations from a module in alphabetical order
Also, move module interface printing to libAST to make it reuseable.


Swift SVN r10932
2013-12-06 20:23:54 +00:00

29 lines
878 B
C++

//===--- ModuleInterfacePrinting.h - Routines to print module interface ---===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_AST_MODULE_INTERFACE_PRINTING_H
#define SWIFT_AST_MODULE_INTERFACE_PRINTING_H
#include "swift/Basic/LLVM.h"
namespace swift {
class Module;
struct PrintOptions;
void printModuleInterface(Module *M, raw_ostream &OS,
const PrintOptions &Options);
} // namespace swift
#endif // SWIFT_AST_MODULE_INTERFACE_PRINTING_H