This is usefull for determining whether components overlap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283932
91177308-0d34-0410-b5e6-
96231b3b80d8
bool shouldPassIndirectly(bool asReturnValue) const;
using EnumerationCallback =
- llvm::function_ref<void(CharUnits offset, llvm::Type *type)>;
+ llvm::function_ref<void(CharUnits offset, CharUnits end, llvm::Type *type)>;
/// Enumerate the expanded components of this type.
///
assert(Finished && "haven't yet finished lowering");
for (auto &entry : Entries) {
- callback(entry.Begin, entry.Type);
+ callback(entry.Begin, entry.End, entry.Type);
}
}