forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c++, contracts: Revise handling of const-ification.
This: 1. Revises the handling so that we only need to preserve a single tree flag which denotes the requirement to const-ify the contract content. 2. Uses the saved flag instead of recomputing the condition in delayed parses and template substitution. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
- Loading branch information
Showing
3 changed files
with
44 additions
and
82 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