Only store the minimal requirements in generic metadata, where

"minimal" is defined as the set of requirements that would be
passed to a function with the type's generic signature that
takes the thick metadata of the parent type as its only argument.
This commit is contained in:
John McCall
2016-02-25 10:31:18 -08:00
parent 66b0b57b8f
commit 3ce1ba3e65
26 changed files with 1131 additions and 747 deletions

View File

@@ -377,6 +377,7 @@ IRGenModule::~IRGenModule() {
delete DebugInfo;
delete ABITypes;
}
static bool isReturnAttribute(llvm::Attribute::AttrKind Attr);
// Explicitly listing these constants is an unfortunate compromise for