@@ -231,6 +231,7 @@ std::string DependencyKey::humanReadableName() const {
231
231
switch (kind) {
232
232
case NodeKind::member:
233
233
return demangleTypeAsContext (context) + " ." + name;
234
+ case NodeKind::incrementalExternalDepend:
234
235
case NodeKind::externalDepend:
235
236
case NodeKind::sourceFileProvide:
236
237
return llvm::sys::path::filename (name).str ();
@@ -261,9 +262,12 @@ raw_ostream &fine_grained_dependencies::operator<<(raw_ostream &out,
261
262
bool DependencyKey::verify () const {
262
263
assert ((getKind () != NodeKind::externalDepend || isInterface ()) &&
263
264
" All external dependencies must be interfaces." );
265
+ assert ((getKind () != NodeKind::incrementalExternalDepend || isInterface ()) &&
266
+ " All incremental external dependencies must be interfaces." );
264
267
switch (getKind ()) {
265
268
case NodeKind::topLevel:
266
269
case NodeKind::dynamicLookup:
270
+ case NodeKind::incrementalExternalDepend:
267
271
case NodeKind::externalDepend:
268
272
case NodeKind::sourceFileProvide:
269
273
assert (context.empty () && !name.empty () && " Must only have a name" );
@@ -294,6 +298,7 @@ void DependencyKey::verifyNodeKindNames() {
294
298
CHECK_NAME (potentialMember)
295
299
CHECK_NAME (member)
296
300
CHECK_NAME (dynamicLookup)
301
+ CHECK_NAME (incrementalExternalDepend)
297
302
CHECK_NAME (externalDepend)
298
303
CHECK_NAME (sourceFileProvide)
299
304
case NodeKind::kindCount:
0 commit comments