Skip to content

Commit 7752669

Browse files
committed
csparser: add key events for CONSTANT_EXPRESSION_RESULT
1 parent 115e696 commit 7752669

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

csparser.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,13 @@ KeyEventDigger::KeyEventDigger():
222222
{
223223
// register checker-specific key events
224224
d->hMap["CHECKED_RETURN"] .insert("check_return");
225+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("extra_high_bits");
226+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("logical_vs_bitwise");
227+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("missing_parentheses");
228+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("operator_confusion");
229+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("pointless_expression");
230+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("result_independent_of_operands");
231+
d->hMap["CONSTANT_EXPRESSION_RESULT"].insert("same_on_both_sides");
225232
d->hMap["FORWARD_NULL"] .insert("deref_parm");
226233
d->hMap["FORWARD_NULL"] .insert("dereference");
227234
d->hMap["FORWARD_NULL"] .insert("var_deref_op");

0 commit comments

Comments
 (0)