[Printer] Conditionally print Clang types in emitted SIL.

This commit is contained in:
Varun Gandhi
2020-08-31 17:27:35 -07:00
parent 5e9bf1f7c6
commit 983399c1e7
16 changed files with 93 additions and 59 deletions

View File

@@ -671,8 +671,7 @@ public:
/// \param Opts The SIL options, used to determine printing verbosity and
/// and sorting.
/// \param PrintASTDecls If set to true print AST decls.
void print(raw_ostream& OS,
ModuleDecl *M = nullptr,
void print(raw_ostream &OS, ModuleDecl *M = nullptr,
const SILOptions &Opts = SILOptions(),
bool PrintASTDecls = true) const {
SILPrintContext PrintCtx(OS, Opts);