Uh oh!
There was an error while loading. Please reload this page.
split the actual check implementations from the instances - #5323
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
429f3eb to
876e259Compareba3fb72 to
28cfb23Comparefirewave
commented
Apr 4, 2025
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
631ed61Compare7423146 to
0f3e4ffCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eb05ce8 to
1aaf437CompareCheck into CheckImplfirewave
commented
May 19, 2026
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 |
I know you hate AI but it's hard to review such big change manually. AI has this feedback:
Any opinions about this? Personally I have never used PIMPL. So I am not confused.. |
danmar
commented
May 28, 2026
Another question:
|
firewave
commented
May 28, 2026
It is just called
Obviously. The code in those function has not changed at all - we just split the instance code from the implementation one so the |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.