commit | 14afab36c73c32a831838ba80f36136a80d9e6db | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 30 23:32:31 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 30 23:32:31 2012 +0000 |
tree | 3a207124f0d5d5a78178de5a39ffca208143185b | |
parent | e2dbaa9f78be2b09b0723d1b614286412808b5d3 [diff] |
Teach the serialized diagnostic writer to clone() itself, sharing state so that all of the various clones end up rendering their diagnostics into the same serialized-diagnostics file. This is important when we actually want failures during module build to be reported back to the translation unit that tried to import the not-yet-built or out-of-date module. <rdar://problem/12565727> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169057 91177308-0d34-0410-b5e6-96231b3b80d8