diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-03-26 16:34:53 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-03-26 16:55:17 -0400 |
commit | 5026a144add526567771a75b414a4d9873054620 (patch) | |
tree | 3da3c1e7fe7dc8d0a2015b088de229a122328cc6 /expr.h | |
parent | d0565f9830b483d8f307e966e22fde01478b26df (diff) | |
download | bfs-5026a144add526567771a75b414a4d9873054620.tar.xz |
opt: Warn about expressions we remove while optimizing
Diffstat (limited to 'expr.h')
-rw-r--r-- | expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |