split the actual check implementations from the instances#5323
split the actual check implementations from the instances#5323firewave wants to merge 2 commits into
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
429f3eb to
876e259
Compare
ba3fb72 to
28cfb23
Compare
|
A side note - outside of the tests we would actually not require any of the checks to have headers at all since the application code is only accessing them through the instances. |
0baa9b5 to
631ed61
Compare
7423146 to
0f3e4ff
Compare
7634eca to
eb05ce8
Compare
Check into CheckImpl|
The check objects were ambiguous in their purpose. The constructor with the name only constructed the instance which had all internal pointer set to NULL and should never be used to run the checks. The other constructor was used to generate the actual object for the analysis. This splits the checks into separate instance and implementation classes. This will allow us to change the pointer to references (a follow-up I have already lined up) and also clean up some interfaces (more follow-ups). There is most likely some additional cleanups possible with the access level of the implementations (non-analysis function should probably not be public - well, actually none of them should probably be public in the production code but I would not like to introduce
This is no longer the intended goal. The idea was to hide the implementation completely and only use the interface. But with umbrella checks like |
No description provided.