Changeset 5cbacf1 for src/Common
- Timestamp:
- Jul 30, 2018, 4:43:48 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ba4a1d8
- Parents:
- 05e6eb5
- git-author:
- Rob Schluntz <rschlunt@…> (07/30/18 16:30:06)
- git-committer:
- Rob Schluntz <rschlunt@…> (07/30/18 16:43:48)
- Location:
- src/Common
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/module.mk
r05e6eb5 r5cbacf1 19 19 Common/DebugMalloc.cc \ 20 20 Common/Assert.cc \ 21 Common/Heap.cc 21 Common/Heap.cc \ 22 Common/Eval.cc -
src/Common/utility.h
r05e6eb5 r5cbacf1 31 31 #include "Common/Indenter.h" 32 32 33 class Expression; 34 33 35 template< typename T > 34 36 static inline T * maybeClone( const T *orig ) { … … 456 458 } // ilog2 457 459 460 // ----------------------------------------------------------------------------- 461 /// evaluates expr as a long long int. If second is false, expr could not be evaluated 462 std::pair<long long int, bool> eval(Expression * expr); 458 463 459 464 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.