case syntax::NodeKind::NestedNameSpecifier:
case syntax::NodeKind::CallArguments:
case syntax::NodeKind::ParameterDeclarationList:
+ case syntax::NodeKind::DeclaratorList:
return true;
default:
return false;
return clang::tok::coloncolon;
case NodeKind::CallArguments:
case NodeKind::ParameterDeclarationList:
+ case NodeKind::DeclaratorList:
return clang::tok::comma;
default:
llvm_unreachable("This is not a subclass of List, thus "
return TerminationKind::Terminated;
case NodeKind::CallArguments:
case NodeKind::ParameterDeclarationList:
+ case NodeKind::DeclaratorList:
return TerminationKind::Separated;
default:
llvm_unreachable("This is not a subclass of List, thus "
return true;
case NodeKind::ParameterDeclarationList:
return true;
+ case NodeKind::DeclaratorList:
+ return true;
default:
llvm_unreachable("This is not a subclass of List, thus canBeEmpty() "
"cannot be called");