diff options
Diffstat (limited to 'gcc-4.4.3/gcc/langhooks.h')
-rw-r--r-- | gcc-4.4.3/gcc/langhooks.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/langhooks.h b/gcc-4.4.3/gcc/langhooks.h index 45e92ce76..c560cc1bf 100644 --- a/gcc-4.4.3/gcc/langhooks.h +++ b/gcc-4.4.3/gcc/langhooks.h @@ -477,6 +477,13 @@ struct lang_hooks /* Return true if DECL is a destructor. */ bool (*decl_is_destructor) (tree); + /* Return + 1 if decl is a const member function, + 2 if decl is not a const member function but has a const overload that + has identical parameter list, + 0 otherwise. */ + int (*decl_is_const_member_func) (tree); + /* Do language specific processing in the builtin function DECL */ tree (*builtin_function) (tree decl); |