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] |
On 04/01/2015 06:12 AM, Marek Polacek wrote:
On Wed, Apr 01, 2015 at 12:02:36PM +0200, Paolo Carlini wrote:--- cp/pt.c (revision 221795) +++ cp/pt.c (working copy) @@ -20773,6 +20773,13 @@ current_instantiation (void) return current_tinst_level; } +bool +instantiating_current_function_p (void) +{ + return (current_instantiation () + && current_instantiation ()->decl == current_function_decl); +} +This function is missing a comment.
OK with that fixed. Jason
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |