moved TokenList reference out of TokenFrontBack / some cleanups#7454
moved TokenList reference out of TokenFrontBack / some cleanups#7454chrchr-github merged 3 commits intocppcheck-opensource:mainfrom
TokenList reference out of TokenFrontBack / some cleanups#7454Conversation
|
This is in preparation because an upcoming PR will change the lifetime of Please let's not get into a "you should not have references in objects" discussion. That will be addressed later (I thought our usage was fine but there was a fundamental misunderstanding on my side) - with the help of clang-tidy. |
|
If a token has a reference back to the list then maybe it should be a Also it seems like the |
Yes - I will look into this when I review the usage of references in class.
One of the reasons why I wanted things more explicit and less cyclic/dependent. |
No description provided.