mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
- fixed error ast node
This commit is contained in:
parent
7a2a27726a
commit
da6cc58f76
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class SuggestedParenthesisChecker extends AbstractIndexAstChecker {
|
||||||
int precedence = getPrecedence(expression);
|
int precedence = getPrecedence(expression);
|
||||||
if (precedence == 2) { // unary not
|
if (precedence == 2) { // unary not
|
||||||
if (isUsedAsOperand(expression)) {
|
if (isUsedAsOperand(expression)) {
|
||||||
reportProblem(ER_ID, svis.other,
|
reportProblem(ER_ID, expression,
|
||||||
"Suggested parenthesis around expression");
|
"Suggested parenthesis around expression");
|
||||||
return PROCESS_SKIP;
|
return PROCESS_SKIP;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue