Added a BasicStyleCheck for virtual functions without override keyword.
This commit is contained in:
parent
baefed8061
commit
a800b5bd9f
@ -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"},
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user