Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Overload_candidate Struct Reference

#include <overload_resolver.h>

Collaboration diagram for Overload_candidate:

Collaboration graph
[legend]
List of all members.

Public Methods

 Overload_candidate (Function_signature *sig)
 ~Overload_candidate ()
bool is_better_than (Overload_candidate *other)
 Returns true iff candidate this is better than other. More...

void fill_in_tree (Overload_resolver *resolver)

Public Attributes

Function_signaturefsig
std::vector< Implicit_conversion * > args

Constructor & Destructor Documentation

Overload_candidate::Overload_candidate Function_signature   sig
 

Definition at line 338 of file overload_resolver.cc.

Overload_candidate::~Overload_candidate  
 

Definition at line 345 of file overload_resolver.cc.


Member Function Documentation

void Overload_candidate::fill_in_tree Overload_resolver   resolver
 

Definition at line 388 of file overload_resolver.cc.

References Overload_resolver::args, args, compile_error(), fsig, Function_signature::get_function(), Function_symbol::get_function_kind(), Function_signature::get_storage_specifier(), Overload_resolver::have_object, Overload_resolver::is_operator, Symbol_name::k_Constructor, and s_Member.

Referenced by Overload_resolver::get_best().

bool Overload_candidate::is_better_than Overload_candidate *    other
 

Returns true iff candidate this is better than other.

Definition at line 352 of file overload_resolver.cc.

References args, and ICS_Types::c_CompareAll.

Referenced by Overload_resolver::get_best().


Member Data Documentation

std::vector<Implicit_conversion*> Overload_candidate::args
 

Definition at line 27 of file overload_resolver.h.

Referenced by Overload_resolver::add_signature_with_type(), Overload_resolver::dump(), fill_in_tree(), and is_better_than().

Function_signature* Overload_candidate::fsig
 

Definition at line 26 of file overload_resolver.h.

Referenced by Expr_annotator::do_funcall(), Overload_resolver::dump(), fill_in_tree(), Init_handler::get_default_initializer_for_type(), Init_handler::make_constructor_call(), Expr_annotator::visit_array(), Expr_annotator::visit_arrowmember(), Expr_annotator::visit_assign(), Expr_annotator::visit_comma(), Expr_annotator::visit_new(), Expr_annotator::visit_postfix(), and Expr_annotator::visit_unary().


The documentation for this struct was generated from the following files:
Generated on Mon Feb 10 17:36:01 2003 for VFiasco Semantics Compiler by doxygen1.2.15