diff options
author | Mattes D <github@xoft.cz> | 2016-08-13 10:19:55 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-08-13 10:19:55 +0200 |
commit | a800b5bd9f663b5c7d78101a449f97e5a5789c9a (patch) | |
tree | 64ccae3e720f1d76b3427d9df64e33629f3f994c | |
parent | Fix issue #3312 (diff) | |
download | cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar.gz cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar.bz2 cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar.lz cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar.xz cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.tar.zst cuberite-a800b5bd9f663b5c7d78101a449f97e5a5789c9a.zip |
Diffstat (limited to '')
-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"}, } |