Skip to content

Commit 10929b7

Browse files
committed
add inline suppressions
1 parent 85e6ad9 commit 10929b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/token.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,6 +2632,8 @@ const ValueFlow::Value* Token::getContainerSizeValue(const MathLib::bigint val)
26322632

26332633
TokenImpl::~TokenImpl()
26342634
{
2635+
// cppcheck-suppress-begin [noCopyConstructor, noOperatorEq]
2636+
26352637
delete mMacroName;
26362638
delete mOriginalName;
26372639
delete mValueType;
@@ -2649,6 +2651,8 @@ TokenImpl::~TokenImpl()
26492651
mCppcheckAttributes = mCppcheckAttributes->next;
26502652
delete c;
26512653
}
2654+
2655+
// cppcheck-suppress-end [noCopyConstructor, noOperatorEq]
26522656
}
26532657

26542658
void TokenImpl::setCppcheckAttribute(TokenImpl::CppcheckAttributes::Type type, MathLib::bigint value)

0 commit comments

Comments
 (0)