Changes in / [48a8127:122cac7]
- Location:
- src
- Files:
-
- 4 edited
-
GenPoly/ScopedMap.h (modified) (4 diffs)
-
GenPoly/ScopedSet.h (modified) (4 diffs)
-
tests/Makefile.am (modified) (1 diff)
-
tests/Makefile.in (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/ScopedMap.h
r48a8127 r122cac7 90 90 return next_valid(); 91 91 } 92 iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }92 iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; } 93 93 94 94 iterator& operator-- () { … … 101 101 return prev_valid(); 102 102 } 103 iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }103 iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; } 104 104 105 105 bool operator== (const iterator &that) { … … 166 166 return next_valid(); 167 167 } 168 const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }168 const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; } 169 169 170 170 const_iterator& operator-- () { … … 177 177 return prev_valid(); 178 178 } 179 const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }179 const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; } 180 180 181 181 bool operator== (const const_iterator &that) { -
src/GenPoly/ScopedSet.h
r48a8127 r122cac7 87 87 return next_valid(); 88 88 } 89 iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }89 iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; } 90 90 91 91 iterator& operator-- () { … … 98 98 return prev_valid(); 99 99 } 100 iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }100 iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; } 101 101 102 102 bool operator== (const iterator &that) { … … 163 163 return next_valid(); 164 164 } 165 const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }165 const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; } 166 166 167 167 const_iterator& operator-- () { … … 174 174 return prev_valid(); 175 175 } 176 const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }176 const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; } 177 177 178 178 bool operator== (const const_iterator &that) { -
src/tests/Makefile.am
r48a8127 r122cac7 19 19 CC = @CFA_BINDIR@/cfa 20 20 21 .PHONY : list 22 EXTRA_PROGRAMS = fstream_test vector_test avl_test Constant0-1DP Constant0-1ND Constant0-1NDDP # build but do not install 23 21 noinst_PROGRAMS = fstream_test vector_test avl_test # build but do not install 24 22 fstream_test_SOURCES = fstream_test.c 25 23 vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c 26 24 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c 27 28 all-local :29 python test.py --all30 31 clean-local :32 -rm -f ${EXTRA_PROGRAMS}33 34 list :35 python test.py --list36 25 37 26 Constant0-1DP : Constant0-1.c -
src/tests/Makefile.in
r48a8127 r122cac7 18 18 ######################## -*- Mode: Makefile-Automake -*- ###################### 19 19 ############################################################################### 20 20 21 VPATH = @srcdir@ 21 22 pkgdatadir = $(datadir)/@PACKAGE@ … … 35 36 PRE_UNINSTALL = : 36 37 POST_UNINSTALL = : 37 EXTRA_PROGRAMS = fstream_test$(EXEEXT) vector_test$(EXEEXT) \ 38 avl_test$(EXEEXT) Constant0-1DP$(EXEEXT) \ 39 Constant0-1ND$(EXEEXT) Constant0-1NDDP$(EXEEXT) 38 noinst_PROGRAMS = fstream_test$(EXEEXT) vector_test$(EXEEXT) \ 39 avl_test$(EXEEXT) 40 40 subdir = src/tests 41 41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 48 48 CONFIG_CLEAN_FILES = 49 49 CONFIG_CLEAN_VPATH_FILES = 50 Constant0_1DP_SOURCES = Constant0-1DP.c 51 Constant0_1DP_OBJECTS = Constant0-1DP.$(OBJEXT) 52 Constant0_1DP_LDADD = $(LDADD) 53 Constant0_1ND_SOURCES = Constant0-1ND.c 54 Constant0_1ND_OBJECTS = Constant0-1ND.$(OBJEXT) 55 Constant0_1ND_LDADD = $(LDADD) 56 Constant0_1NDDP_SOURCES = Constant0-1NDDP.c 57 Constant0_1NDDP_OBJECTS = Constant0-1NDDP.$(OBJEXT) 58 Constant0_1NDDP_LDADD = $(LDADD) 50 PROGRAMS = $(noinst_PROGRAMS) 59 51 am_avl_test_OBJECTS = avl_test.$(OBJEXT) avl0.$(OBJEXT) avl1.$(OBJEXT) \ 60 52 avl2.$(OBJEXT) avl3.$(OBJEXT) avl4.$(OBJEXT) \ … … 92 84 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 93 85 am__v_GEN_0 = @echo " GEN " $@; 94 SOURCES = Constant0-1DP.c Constant0-1ND.c Constant0-1NDDP.c \ 95 $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 86 SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 96 87 $(vector_test_SOURCES) 97 DIST_SOURCES = Constant0-1DP.c Constant0-1ND.c Constant0-1NDDP.c \ 98 $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 88 DIST_SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 99 89 $(vector_test_SOURCES) 100 90 ETAGS = etags … … 245 235 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 246 236 $(am__aclocal_m4_deps): 237 238 clean-noinstPROGRAMS: 239 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 247 240 avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES) 248 241 @rm -f avl_test$(EXEEXT) … … 261 254 -rm -f *.tab.c 262 255 263 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Constant0-1DP.Po@am__quote@264 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Constant0-1ND.Po@am__quote@265 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Constant0-1NDDP.Po@am__quote@266 256 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 267 257 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/avl-private.Po@am__quote@ … … 514 504 check-am: all-am 515 505 check: check-am 516 all-am: Makefile all-local506 all-am: Makefile $(PROGRAMS) 517 507 installdirs: 518 508 install: install-am … … 548 538 clean: clean-am 549 539 550 clean-am: clean-generic clean- localmostlyclean-am540 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am 551 541 552 542 distclean: distclean-am … … 617 607 .MAKE: install-am install-strip 618 608 619 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean\620 clean- generic clean-localctags distclean distclean-compile \609 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ 610 clean-noinstPROGRAMS ctags distclean distclean-compile \ 621 611 distclean-generic distclean-tags distdir dvi dvi-am html \ 622 612 html-am info info-am install install-am install-data \ … … 631 621 632 622 633 .PHONY : list634 635 all-local :636 python test.py --all637 638 clean-local :639 -rm -f ${EXTRA_PROGRAMS}640 641 list :642 python test.py --list643 644 623 Constant0-1DP : Constant0-1.c 645 624 ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
Note:
See TracChangeset
for help on using the changeset viewer.