File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ class CPPCHECKLIB Tokenizer {
601601 /* *
602602 * Helper function to check whether number is one (1 or 0.1E+1 or 1E+0) or not?
603603 * @param s the string to check
604- * @return true in case is is one and false otherwise.
604+ * @return true in case it is one and false otherwise.
605605 */
606606 static bool isOneNumber (const std::string &s);
607607
@@ -613,6 +613,13 @@ class CPPCHECKLIB Tokenizer {
613613 */
614614 static const Token * startOfExecutableScope (const Token * tok);
615615
616+ /* *
617+ * Helper function to check whether tok is the declaration of a function pointer
618+ * @param the Token to check
619+ * @return true in case tok is a function pointer and false otherwise.
620+ */
621+ static bool isFunctionPointer (const Token* tok);
622+
616623 const Settings &getSettings () const {
617624 return mSettings ;
618625 }
You can’t perform that action at this time.
0 commit comments