Changeset 8f557161 for src/Common/Eval.h
- Timestamp:
- Jun 13, 2023, 4:33:16 PM (16 months ago)
- Branches:
- master
- Children:
- 5668740, fec8bd1
- Parents:
- 576aadb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Eval.h
r576aadb r8f557161 23 23 } 24 24 25 struct Evaluation { 26 long long int knownValue; 27 bool hasKnownValue; 28 bool isEvaluableInGCC; 29 }; 30 25 31 /// Evaluates expr as a long long int. 26 32 /// If second is false, expr could not be evaluated. 27 33 std::pair<long long int, bool> eval(const Expression * expr); 28 std::pair<long long int, bool>eval(const ast::Expr * expr);34 Evaluation eval(const ast::Expr * expr); 29 35 30 36 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.