Files
swift-mirror/include/swift/IDE/ModuleInterfacePrinting.h
2014-04-01 14:51:58 +00:00

38 lines
1.2 KiB
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_IDE_MODULE_INTERFACE_PRINTING_H
#define SWIFT_IDE_MODULE_INTERFACE_PRINTING_H
#include "swift/Basic/LLVM.h"
namespace swift {
class ASTPrinter;
class Module;
struct PrintOptions;
namespace ide {
void printModuleInterface(Module *M, ASTPrinter &Printer,
const PrintOptions &Options);
// FIXME: this API should go away when Swift can represent Clang submodules as
// 'swift::Module *' objects.
void printSubmoduleInterface(Module *M, ArrayRef<StringRef> FullModuleName,
ASTPrinter &Printer, const PrintOptions &Options);
} // namespace ide
} // namespace swift
#endif // SWIFT_IDE_MODULE_INTERFACE_PRINTING_H