We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b68466f commit 0addf55Copy full SHA for 0addf55
clang-tools-extra/clang-tidy/misc/BoolBitwiseOperationCheck.cpp
@@ -100,8 +100,7 @@ void BoolBitwiseOperationCheck::check(const MatchFinder::MatchResult &Result) {
100
const NamedDecl *ND = getLHSNamedDeclIfCompoundAssign(MatchedExpr);
101
return diag(MatchedExpr->getOperatorLoc(),
102
"use logical operator '%0' for boolean %select{variable "
103
- "%2|values}1 instead of "
104
- "bitwise operator '%3'")
+ "%2|values}1 instead of bitwise operator '%3'")
105
<< translate(MatchedExpr->getOpcodeStr()) << (ND == nullptr) << ND
106
<< MatchedExpr->getOpcodeStr();
107
};
0 commit comments