Lines Matching defs:is_a_helper
52 adds a check against NULL where the regular is_a_helper hook for TYPE
113 'missing symbol' error message for 'is_a_helper<....>::test', it means that
125 a specialization of is_a_helper such as:
128 struct is_a_helper<DERIVED *> : static_is_a_helper<DERIVED *>
142 class 'is_a_helper'. For example,
147 is_a_helper <cgraph_node *>::test (symtab_node *p)
159 is_a_helper <cgraph_node *>::cast (symtab_node *p)
169 /* A base class that specializations of is_a_helper can use if casting
179 /* A base class that specializations of is_a_helper can use if casting
193 struct is_a_helper : reinterpret_is_a_helper<T>
199 /* Reuse the definition of is_a_helper<T *> to implement
200 is_a_helper<const T *>. */
203 struct is_a_helper<const T *>
208 return is_a_helper<T *>::cast (const_cast <U *> (p));
213 return is_a_helper<T *>::test (p);
232 return is_a_helper<T>::test (p);
243 return is_a_helper <T>::cast (p);
247 is_a_helper<T> doesn't check for NULL. */
256 return is_a_helper <T>::cast (p);
270 return is_a_helper <T>::cast (p);