summaryrefslogtreecommitdiffstats
path: root/expr.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-03-26 16:34:53 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-03-26 16:55:17 -0400
commit5026a144add526567771a75b414a4d9873054620 (patch)
tree3da3c1e7fe7dc8d0a2015b088de229a122328cc6 /expr.h
parentd0565f9830b483d8f307e966e22fde01478b26df (diff)
downloadbfs-5026a144add526567771a75b414a4d9873054620.tar.xz
opt: Warn about expressions we remove while optimizing
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/expr.h b/expr.h
index b825ca1..1f1ece6 100644
--- a/expr.h
+++ b/expr.h
@@ -110,6 +110,8 @@ struct bfs_expr {
bool always_true;
/** Whether this expression always evaluates to false. */
bool always_false;
+ /** Whether this expression doesn't appear on the command line. */
+ bool synthetic;
/** Estimated cost. */
float cost;