Ignore:
Timestamp:
Aug 25, 2016, 2:03:29 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, 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, resolv-new, with_gc
Children:
32a2a99
Parents:
486341f
git-author:
Rob Schluntz <rschlunt@…> (08/25/16 11:09:18)
git-committer:
Rob Schluntz <rschlunt@…> (08/25/16 14:03:29)
Message:

change constructor warnings into errors and update the test output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/ctorWarnings.txt

    r486341f ra2a8d2a6  
    11CFA Version 1.0.0 (debug)
    2 Warning: in void ?{}(struct A *a, int x), member z may not have been constructed
    3 Warning: in void ?{}(struct B *b), member a2 used before being constructed
    4 Warning: in void ?{}(struct B *b), member a2 may not have been constructed
    5 Warning: in void ?{}(struct B *b), member a3 may not have been constructed
    6 Warning: in void ^?{}(struct B *b), member a2 may not have been destructed
    7 Warning: in void ^?{}(struct B *b), member a3 may not have been destructed
     2Error: in void ?{}(struct A *a, int x), member z may not have been constructed
     3Error: in void ?{}(struct B *b), member a2 used before being constructed
     4Error: in void ?{}(struct B *b), member a2 may not have been constructed
     5Error: in void ?{}(struct B *b), member a3 may not have been constructed
     6Error: in void ^?{}(struct B *b), member a2 may not have been destructed
     7Error: in void ^?{}(struct B *b), member a3 may not have been destructed
     8make: *** [ctorWarnings] Error 1
Note: See TracChangeset for help on using the changeset viewer.