mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user