Changing overload rules to match C++ behavior: Emit a warning when the best overload match has some number of no-best matching parameters.
This commit is contained in:
3
expr.h
3
expr.h
@@ -635,7 +635,8 @@ private:
|
||||
static int computeOverloadCost(const FunctionType *ftype,
|
||||
const std::vector<const Type *> &argTypes,
|
||||
const std::vector<bool> *argCouldBeNULL,
|
||||
const std::vector<bool> *argIsConstant);
|
||||
const std::vector<bool> *argIsConstant,
|
||||
int * cost);
|
||||
|
||||
/** Name of the function that is being called. */
|
||||
std::string name;
|
||||
|
||||
Reference in New Issue
Block a user