This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[c++-concepts] cleanup expressions


Sometimes, cleanup_point_exprs are being added to concept definitions.
This patch allows that to happen, but removes the cleanup point during
normalization.

2014-10-13  Andrew Sutton  <andrew.n.sutton@gmail.com>

        Fix bug related to cleanup expressions in concept definitions.
        * gcc/cp/constraint.cc (check_function_concept): See through
        cleanup handlers when checking the body of a function.
        (normalize_cast): Removed. Handled in a default case.
        (normalize_cleanup_point): New. Normalize the expression without
        the cleanup handler.

Andrew Sutton


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]