minor formatting updates of --doc output

This commit is contained in:
Daniel Marjamaki 2011-10-27 10:50:40 +02:00
parent 9bb1a1b7a5
commit 5f4c882b08
2 changed files with 5 additions and 5 deletions

View File

@ -74,14 +74,14 @@ private:
}
std::string myName() const {
return "match assignments and conditions";
return "Match assignments and conditions";
}
std::string classInfo() const {
return "Match assignments and conditions:\n"
" * Mismatching assignment and comparison => comparison is always true/false\n"
" * Mismatching lhs and rhs in comparison => comparison is always true/false\n"
" * Detect matching 'if' and 'else if' conditions";
"* Mismatching assignment and comparison => comparison is always true/false\n"
"* Mismatching lhs and rhs in comparison => comparison is always true/false\n"
"* Detect matching 'if' and 'else if' conditions";
}
};
/// @}

View File

@ -342,7 +342,7 @@ public:
return "Other checks\n"
// error
"* Assigning bool value to pointer (converting bool value to address)"
"* Assigning bool value to pointer (converting bool value to address)\n"
"* [[OverlappingData|bad usage of the function 'sprintf' (overlapping data)]]\n"
"* division with zero\n"
"* using fflush() on an input stream\n"