1
0
Fork 0

Added a BasicStyleCheck for virtual functions without override keyword.

This commit is contained in:
Mattes D 2016-08-13 10:19:55 +02:00
parent baefed8061
commit a800b5bd9f
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ local g_ViolationPatterns =
-- We don't like "Type const *" and "Type const &". Use "const Type *" and "const Type &" instead:
{"const %&", "Use 'const Type &' instead of 'Type const &'"},
{"const %*", "Use 'const Type *' instead of 'Type const *'"},
{"virtual [^~]*%(.*%)%s*;%s*$", "Virtual function without override keyword"},
}