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]

Re: [C++ PATCH] Introduce context struct for cxx_eval_constant_expression


On 07/31/2012 11:58 AM, Florian Weimer wrote:
The attached patch adds a context parameter to
cxx_eval_constant_expression and its subprograms.  This way, we do not
have to thread all context parameters manually.  This will simplify the
introduction of additional location information, as suggested by Jason
in <http://gcc.gnu.org/ml/gcc-patches/2012-06/msg01596.html>.

Bootstrapped and tested on x86_64-redhat-linux-gnu.

Ping?


Should I submit an alternative approach (keep the context in a class, make the internal implementation functions private members) to the cxx-conversion branch?

--
Florian Weimer / Red Hat Product Security Team


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