C and C++


LANG.COMM.TODO : Comment Suggests Code Unfinished

Summary

A comment contains one of the following strings.

Properties

Class Name Comment Suggests Code Unfinished
Significance style
Mnemonic LANG.COMM.TODO
Categories
CWE CWE:546 Suspicious Comment
Availability Available for C and C++.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Comment Suggests Code Unfinished"

Example

void myfunc(void){
/* TODO implement this function */  /* 'Comment Suggests Code Unfinished' warning issued here */
}

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.