[serialization] Handle absent protocol conformances.

These still need to be serialized, because they are one-to-one with the
type's protocol list, but don't actually require any data. Found on
attempting to emit a module for the standard library.

Most of the churn here is moving Interleave.h to a more general STLExtras.h.

Swift SVN r6167
This commit is contained in:
Jordan Rose
2013-07-11 18:38:50 +00:00
parent bb2046c37b
commit e3999dde36
10 changed files with 83 additions and 34 deletions

View File

@@ -16,7 +16,7 @@
#include "swift/AST/AST.h"
#include "swift/AST/Component.h"
#include "swift/AST/Diagnostics.h"
#include "swift/Basic/Interleave.h"
#include "swift/Basic/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"