IRGen: Stub out an UnimplementedTypeInfo class.

This allows IRGen to complain about types it doesn't know how to lower yet, while still recovering well enough not to take the compiler down with it. This reduces the common "unimplemented enum layout" error to be a mere error instead of a compiler crash.

Swift SVN r20773
This commit is contained in:
Joe Groff
2014-07-30 20:50:50 +00:00
parent 80a21c8c09
commit b4f1db9da5
8 changed files with 490 additions and 2 deletions

View File

@@ -34,6 +34,7 @@
#include "llvm/ADT/PointerUnion.h"
#include "llvm/Support/ErrorHandling.h"
#include "GenEnum.h"
#include "GenType.h"
#include "IRGenModule.h"
#include "IRGenDebugInfo.h"