OSDN Git Service

* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
[pf3gnuchains/gcc-fork.git] / gcc / cp / cp-objcp-common.h
index 4a4d400..bd7f4f7 100644 (file)
@@ -151,5 +151,7 @@ extern tree objcp_tsubst_copy_and_build (tree, tree, tsubst_flags_t,
 #define LANG_HOOKS_TO_TARGET_CHARSET c_common_to_target_charset
 #undef LANG_HOOKS_GIMPLIFY_EXPR
 #define LANG_HOOKS_GIMPLIFY_EXPR cp_gimplify_expr
+#undef LANG_HOOKS_LOOKUP_NAME
+#define LANG_HOOKS_LOOKUP_NAME lookup_name_one
 
 #endif /* GCC_CP_OBJCP_COMMON */