Missing return section: add test for auto functions
This commit is contained in:
parent
3103f58242
commit
4b0f61bb98
|
@ -370,6 +370,15 @@ unittest
|
|||
}c.format(
|
||||
ProperlyDocumentedPublicFunctions.MISSING_RETURNS_MESSAGE,
|
||||
), sac);
|
||||
|
||||
assertAnalyzerWarnings(q{
|
||||
/**
|
||||
Some text
|
||||
*/
|
||||
auto foo(){} // [warn]: %s
|
||||
}c.format(
|
||||
ProperlyDocumentedPublicFunctions.MISSING_RETURNS_MESSAGE,
|
||||
), sac);
|
||||
}
|
||||
|
||||
// ignore private
|
||||
|
|
Loading…
Reference in New Issue