Lines Matching defs:tod

8333 /// @param tod the ABI artifact to get the name for.
8335 /// @param qualified if yes, return the qualified name of @p tod;
8338 /// @return the name of @p tod.
8340 get_name(const type_or_decl_base *tod, bool qualified)
8344 type_or_decl_base* a = const_cast<type_or_decl_base*>(tod);
8365 /// @param tod the ABI artifact to get the name for.
8367 /// @param qualified if yes, return the qualified name of @p tod;
8370 /// @return the name of @p tod.
8372 get_name(const type_or_decl_base_sptr& tod, bool qualified)
8373 {return get_name(tod.get(), qualified);}
8917 /// param tod the ABI artifact to consider.
8927 get_pretty_representation(const type_or_decl_base* tod, bool internal)
8931 if (type_base* t = is_type(const_cast<type_or_decl_base*>(tod)))
8933 else if (decl_base* d = is_decl(const_cast<type_or_decl_base*>(tod)))
8945 /// param tod the ABI artifact to consider.
8955 get_pretty_representation(const type_or_decl_base_sptr& tod, bool internal)
8956 {return get_pretty_representation(tod.get(), internal);}
9839 is_function_parameter(const type_or_decl_base* tod)
9842 (const_cast<type_or_decl_base*>(tod));
9847 /// @param tod the declaration to test for.
9852 is_function_parameter(const type_or_decl_base_sptr tod)
9853 {return dynamic_pointer_cast<function_decl::parameter>(tod);}
9922 is_type(const type_or_decl_base& tod)
9924 if (dynamic_cast<const type_base*>(&tod))
9950 is_type(const type_or_decl_base_sptr& tod)
9951 {return dynamic_pointer_cast<type_base>(tod);}
10605 is_var_decl(const type_or_decl_base* tod)
10606 {return dynamic_cast<var_decl*>(const_cast<type_or_decl_base*>(tod));}
23990 /// @param tod the ABI artifact to consider.
23993 /// @p tod iff it's a class base specifier.
23995 is_class_base_spec(const type_or_decl_base* tod)
23998 (const_cast<type_or_decl_base*>(tod));
24003 /// @param tod the ABI artifact to consider.
24006 /// @p tod iff it's a class base specifier.
24008 is_class_base_spec(type_or_decl_base_sptr tod)
24009 {return dynamic_pointer_cast<class_decl::base_spec>(tod);}
25730 /// @param tod the type or decl to hash.
25734 hash_type_or_decl(const type_or_decl_base *tod)
25738 if (tod == 0)
25740 else if (const type_base* t = is_type(tod))
25742 else if (const decl_base* d = is_decl(tod))
25818 /// @param tod the ABI artifact to hash.
25822 hash_type_or_decl(const type_or_decl_base_sptr& tod)
25823 {return hash_type_or_decl(tod.get());}