Home | History | Annotate | Download | only in Checkers

Lines Matching full:identical

1 //== IdenticalExprChecker.cpp - Identical expression checker----------------==//
12 /// unintended use of identical expressions.
14 /// It checks for use of identical expressions with comparison operators and
32 // FindIdenticalExprVisitor - Identify nodes using identical expressions.
66 Message = "identical expressions on both sides of bitwise operator";
68 Message = "identical expressions on both sides of logical operator";
73 "Use of identical expressions",
111 // Check for identical inner condition:
121 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions",
123 "conditions of the inner and outer statements are identical",
129 // Check for identical conditions:
144 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions",
146 "expression is identical to previous condition",
175 "Identical branches",
177 "true and false branches are identical", ELoc);
208 // reported even if the expressions are identical from a symbolic point of
259 Message = "comparison of identical expressions always evaluates to true";
261 Message = "comparison of identical expressions always evaluates to false";
263 "Compare of identical expressions",
271 // Check if expressions in conditional expression are identical
285 "Identical expressions in conditional expression",
287 "identical expressions on both sides of ':' in conditional expression",
296 /// \brief Determines whether two statement trees are identical regarding
300 /// effects are never considered identical.
301 /// Limitations: (t + u) and (u + t) are not considered identical.
302 /// t*(u + t) and t*u + t*t are not considered identical.
314 // identical statements.
323 // are identical.
327 // the expressions are identical.
331 // If all children of two expressions are identical, return true.