HI, by reading the code, sometimes I can not know how to use the functions of the source code of cppcheck. For example,
boolToken::hasKnownValue()const
I don't know the meaning of that. If I'd like to code with cppcheck, is there any document to comment the interfaces of the main classes, like Token.
And I also tried to use IRC channel #cppcheck. But seems there is no discussion there. Does it still work?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
so:
* "known": when expression always have a certain value in all possible execution paths
* "possible": when expression has a certain value in a possible execution path but not all paths
you can try with the chat again.. I am there sometimes.
But feel free to ask more questions here in the forum also.
Last edit: Daniel Marjamäki 2025-01-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI, by reading the code, sometimes I can not know how to use the functions of the source code of cppcheck. For example,
I don't know the meaning of that. If I'd like to code with cppcheck, is there any document to comment the interfaces of the main classes, like Token.
And I also tried to use IRC channel #cppcheck. But seems there is no discussion there. Does it still work?
Thanks!
sorry for late reply.
An expression has a "known" value if its value is known at compile time.
Example:
so:
* "known": when expression always have a certain value in all possible execution paths
* "possible": when expression has a certain value in a possible execution path but not all paths
you can try with the chat again.. I am there sometimes.
But feel free to ask more questions here in the forum also.
Last edit: Daniel Marjamäki 2025-01-02