[Printer] Conditionally print Clang types in emitted SIL.

Hopefully, this helps us debug Clang type mismatches better.
This commit is contained in:
Varun Gandhi
2020-01-15 16:15:44 -08:00
parent 5f45820755
commit a27c5f0a16
15 changed files with 86 additions and 37 deletions

View File

@@ -78,6 +78,9 @@ public:
/// variables by name when we print it out. This eases diffing of SIL files.
bool EmitSortedSIL = false;
/// See \ref FrontendOptions.PrintFullConvention
bool PrintFullConvention = false;
/// Whether to stop the optimization pipeline after serializing SIL.
bool StopOptimizationAfterSerialization = false;