-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable marking if commands as {:allow_split} or not (#970)
### Changes - Introduce the attribute `{:allow_split}` that can be placed on `IfCmd`. When using `{:isolate "paths"}` only, branches with `{:allow_split}` will trigger splitting of the VC. ### Testing - Updated existing tests so they exercise the presence and absence of `{:allow_split}` - Added a test that combines `{:vcs_split_on_every_assert}` and explicit returns.
- Loading branch information
1 parent
86131fd
commit 07ae2d8
Showing
46 changed files
with
1,373 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Diagnostics.Contracts; | ||
|
||
namespace Microsoft.Boogie; | ||
|
||
[ContractClassFor(typeof(TransferCmd))] | ||
public abstract class TransferCmdContracts : TransferCmd | ||
{ | ||
public TransferCmdContracts() : base(null) | ||
{ | ||
} | ||
|
||
public override void Emit(TokenTextWriter stream, int level) | ||
{ | ||
Contract.Requires(stream != null); | ||
throw new NotImplementedException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.