mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Introduce the ASTPrinter class, and have its callbacks invoked during AST printing.
This provides useful extension points during AST printing. Swift SVN r11338
This commit is contained in:
@@ -16,11 +16,12 @@
|
||||
#include "swift/Basic/LLVM.h"
|
||||
|
||||
namespace swift {
|
||||
class ASTPrinter;
|
||||
class Module;
|
||||
struct PrintOptions;
|
||||
|
||||
void printModuleInterface(Module *M, raw_ostream &OS,
|
||||
const PrintOptions &Options);
|
||||
void printModuleInterface(Module *M, ASTPrinter &Printer,
|
||||
const PrintOptions &Options);
|
||||
|
||||
} // namespace swift
|
||||
|
||||
|
||||
Reference in New Issue
Block a user