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