File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/misra/src/rules/RULE-21-6-3 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class AdvancedMemoryManagementFunction extends Function {
3838class NonStandardNewOrNewArrayOperator extends OperatorNewOrDelete {
3939 NonStandardNewOrNewArrayOperator ( ) {
4040 this .getName ( ) in [ "operator new" , "operator new[]" ] and
41- not this instanceof ReplaceableOperatorNew // `CustomReplaceableOperatorNew` only detects replaceable allocation functions.
41+ not this instanceof ReplaceableOperatorNew
4242 }
4343}
4444
@@ -61,7 +61,7 @@ class UserDeclaredOperatorNewOrDelete extends FunctionDeclarationEntry {
6161class NonStandardDeleteOrDeleteArrayOperator extends OperatorNewOrDelete {
6262 NonStandardDeleteOrDeleteArrayOperator ( ) {
6363 this .getName ( ) in [ "operator delete" , "operator delete[]" ] and
64- not this instanceof ReplaceableOperatorDelete // `CustomReplaceableOperatorDelete` only detects replaceable deallocation functions.
64+ not this instanceof ReplaceableOperatorDelete
6565 }
6666}
6767
You can’t perform that action at this time.
0 commit comments