Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ErrorExpr
1 parent 5a59354 commit a27b1eeCopy full SHA for a27b1ee
1 file changed
cpp/ql/lib/semmle/code/cpp/exprs/Expr.qll
@@ -596,9 +596,12 @@ class ParenthesisExpr extends Conversion, @parexpr {
596
}
597
598
/**
599
- * A C/C++ expression that has not been resolved.
+ * A C/C++ expression that could not be resolved, or that can no longer be
600
+ * represented due to a database upgrade or downgrade.
601
*
- * It is assigned `ErroneousType` as its type.
602
+ * If the expression could not be resolved, it has type `ErroneousType`. In the
603
+ * case of a database upgrade or downgrade, the original type from before the
604
+ * upgrade or downgrade is kept if that type can be represented.
605
*/
606
class ErrorExpr extends Expr, @errorexpr {
607
override string toString() { result = "<error expr>" }
0 commit comments