This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][StreamChecker] Don't make StreamTestChecker depend on StreamChecker for the time being
ClosedPublic

Authored by Szelethus on Apr 14 2020, 9:08 AM.

Details

Summary

The comment in Checkers.td explains whats going on. As StreamChecker grows, expect a need to have smaller checkers out of it, but let that be a worry for later.

Diff Detail

Event Timeline

Szelethus created this revision.Apr 14 2020, 9:08 AM
balazske accepted this revision.Apr 15 2020, 7:56 AM

LGTM
But a better approach can be to make a new kind of dependency. (Or split the StreamChecker.)

This revision is now accepted and ready to land.Apr 15 2020, 7:56 AM

LGTM
But a better approach can be to make a new kind of dependency. (Or split the StreamChecker.)

Definitely the latter, I just didn't wanna mess with your project :) But I'd be happy to assist in splitting it up eventually!

LGTM
But a better approach can be to make a new kind of dependency. (Or split the StreamChecker.)

Definitely the latter, I just didn't wanna mess with your project :) But I'd be happy to assist in splitting it up eventually!

Just to clarify, I don't mean to push the implementation of the correct solution to somebody else, but StreamChecker is a moving target and splitting checkers up, as this project demonstrates, is about a few lines worth of work.

This revision was automatically updated to reflect the committed changes.