//===--- SemaOverload.cpp - C++ Overloading ---------------------*- C++ -*-===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file provides Sema routines for C++ overloading.////===----------------------------------------------------------------------===//#include"Sema.h"#include"SemaInherit.h"#include"clang/Basic/Diagnostic.h"#include"clang/AST/ASTContext.h"#include"clang/AST/Expr.h"#include"llvm/Support/Compiler.h"#include<algorithm>namespaceclang{/// GetConversionCategory - Retrieve the implicit conversion/// category corresponding to the given implicit conversion kind.ImplicitConversionCategoryGetConversionCategory(ImplicitConversionKindKind){staticconstImplicitConversionCategoryCategory[(int)ICK_Num_Conversion_Kinds]={ICC_Identity