Skip to content

Commit 0314f16

Browse files
Update checkother.h
1 parent 995ad05 commit 0314f16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/checkother.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class CPPCHECKLIB CheckOtherImpl : public CheckImpl {
310310
void unsignedPositiveError(const Token *tok, const ValueFlow::Value *v, const std::string &varname);
311311
void pointerPositiveError(const Token *tok, const ValueFlow::Value *v);
312312
void suspiciousSemicolonError(const Token *tok);
313-
void negativeBitwiseShiftError(const Token *tok, int op);
313+
void negativeBitwiseShiftError(const Token *tok, bool isLHS, const ValueFlow::Value *v = nullptr);
314314
void redundantCopyError(const Token *tok, const std::string &varname);
315315
void incompleteArrayFillError(const Token* tok, const std::string& buffer, const std::string& function, bool boolean);
316316
void varFuncNullUBError(const Token *tok);

0 commit comments

Comments
 (0)