summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-13 10:22:41 +0200
committerMattes D <github@xoft.cz>2016-08-13 10:22:41 +0200
commit6a6f0fb9e472ba9be7eda1c46669c507177fa544 (patch)
treec043a6de36111cc6da46c4ceeb4bad701cfaa574
parentAdded a BasicStyleCheck for virtual functions without override keyword. (diff)
downloadcuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar.gz
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar.bz2
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar.lz
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar.xz
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.tar.zst
cuberite-6a6f0fb9e472ba9be7eda1c46669c507177fa544.zip
-rwxr-xr-xsrc/CheckBasicStyle.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua
index a22bfe49c..8d188bb67 100755
--- a/src/CheckBasicStyle.lua
+++ b/src/CheckBasicStyle.lua
@@ -203,8 +203,6 @@ 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"},
}