* cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version.

From-SVN: r149239
This commit is contained in:
Jason Merrill 2009-07-04 13:48:02 -04:00 committed by Jason Merrill
parent d5b7dccd05
commit 8885e914f3
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2009-07-04 Jason Merrill <jason@redhat.com>
* cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version.
PR c++/40619
* cp-tree.h (struct lang_decl_parm): New.
(struct lang_decl): Add it.

View file

@ -1741,7 +1741,7 @@ struct GTY(()) lang_decl {
(&DECL_LANG_SPECIFIC (NODE)->u.min)
#define LANG_DECL_FN_CHECK(NODE) \
(&DECL_LANG_SPECIFIC (NODE)->u.fn)
(&DECL_LANG_SPECIFIC (STRIP_TEMPLATE (NODE))->u.fn)
#define LANG_DECL_NS_CHECK(NODE) \
(&DECL_LANG_SPECIFIC (NODE)->u.ns)