[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

@@ -253,6 +253,9 @@ public:
/// See the \ref SILOptions.EmitSortedSIL flag.
bool EmitSortedSIL = false;
/// Should we emit the cType when printing @convention(c) or no?
bool PrintFullConvention = false;
/// Indicates whether the dependency tracker should track system
/// dependencies as well.
bool TrackSystemDeps = false;