diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/CheckBasicStyle.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua index 8d188bb67..a22bfe49c 100755 --- a/src/CheckBasicStyle.lua +++ b/src/CheckBasicStyle.lua @@ -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"}, } |