Changeset 4cb935e for src/Parser/parseutility.cc
- Timestamp:
- Dec 1, 2016, 12:46:34 PM (8 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 78b3f52
- Parents:
- 148f7290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parseutility.cc
r148f7290 r4cb935e 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // parseutility.cc -- 7 // parseutility.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves … … 12 12 // Last Modified On : Sun Aug 14 23:45:03 2016 13 13 // Update Count : 3 14 // 14 // 15 15 16 16 #include "parseutility.h" … … 26 26 UntypedExpr *comparison = new UntypedExpr( new NameExpr( "?!=?" ) ); 27 27 comparison->get_args().push_back( orig ); 28 comparison->get_args().push_back( new NameExpr( "0") );28 comparison->get_args().push_back( new ConstantExpr( Constant( new ZeroType( emptyQualifiers ), "0" ) ) ); 29 29 return new CastExpr( comparison, new BasicType( Type::Qualifiers(), BasicType::SignedInt ) ); 30 30 }
Note: See TracChangeset
for help on using the changeset viewer.