b7f8227c42
In the two LibraryAnalyzer classes, the list of visitors is always empty, so there are never any "visitor based lints" to run. (I suspect that all the visitor based lints were long ago converted to use the node registry, leaving this code dead). Removing the last remnants of the visitor based lint logic allows us to remove the ExceptionHandlingDelegatingAstVisitor class, which in turn allows us to move its logException method into a simpler class. In a follow-up CL, I will expand on this class to allow its behavior to be customized. Change-Id: I1261a94572ea65eb220a58fb45f6d887e6497fe9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208140 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Paul Berry <paulberry@google.com>