@@ -231,6 +231,7 @@ std::string DependencyKey::humanReadableName() const {
231231 switch (kind) {
232232 case NodeKind::member:
233233 return demangleTypeAsContext (context) + " ." + name;
234+ case NodeKind::incrementalExternalDepend:
234235 case NodeKind::externalDepend:
235236 case NodeKind::sourceFileProvide:
236237 return llvm::sys::path::filename (name).str ();
@@ -261,9 +262,12 @@ raw_ostream &fine_grained_dependencies::operator<<(raw_ostream &out,
261262bool DependencyKey::verify () const {
262263 assert ((getKind () != NodeKind::externalDepend || isInterface ()) &&
263264 " All external dependencies must be interfaces." );
265+ assert ((getKind () != NodeKind::incrementalExternalDepend || isInterface ()) &&
266+ " All incremental external dependencies must be interfaces." );
264267 switch (getKind ()) {
265268 case NodeKind::topLevel:
266269 case NodeKind::dynamicLookup:
270+ case NodeKind::incrementalExternalDepend:
267271 case NodeKind::externalDepend:
268272 case NodeKind::sourceFileProvide:
269273 assert (context.empty () && !name.empty () && " Must only have a name" );
@@ -294,6 +298,7 @@ void DependencyKey::verifyNodeKindNames() {
294298 CHECK_NAME (potentialMember)
295299 CHECK_NAME (member)
296300 CHECK_NAME (dynamicLookup)
301+ CHECK_NAME (incrementalExternalDepend)
297302 CHECK_NAME (externalDepend)
298303 CHECK_NAME (sourceFileProvide)
299304 case NodeKind::kindCount:
0 commit comments