资源简介
gcc-g++-4.6.3.tar.bz2
代码片段和文件信息
/* Functions related to invoking methods and overloaded functions.
Copyright (C) 1987 1992 1993 1994 1995 1996 1997 1998
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010
Free Software Foundation Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) and
modified by Brendan Kehoe (brendan@cygnus.com).
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 or (at your option)
any later version.
GCC is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
. */
/* High-level class interface. */
#include “config.h“
#include “system.h“
#include “coretypes.h“
#include “tm.h“
#include “tree.h“
#include “cp-tree.h“
#include “output.h“
#include “flags.h“
#include “toplev.h“
#include “diagnostic-core.h“
#include “intl.h“
#include “target.h“
#include “convert.h“
#include “langhooks.h“
#include “c-family/c-objc.h“
/* The various kinds of conversion. */
typedef enum conversion_kind {
ck_identity
ck_lvalue
ck_qual
ck_std
ck_ptr
ck_pmem
ck_base
ck_ref_bind
ck_user
ck_ambig
ck_list
ck_aggr
ck_rvalue
} conversion_kind;
/* The rank of the conversion. Order of the enumerals matters; better
conversions should come earlier in the list. */
typedef enum conversion_rank {
cr_identity
cr_exact
cr_promotion
cr_std
cr_pbool
cr_user
cr_ellipsis
cr_bad
} conversion_rank;
/* An implicit conversion sequence in the sense of [over.best.ics].
The first conversion to be performed is at the end of the chain.
That conversion is always a cr_identity conversion. */
typedef struct conversion conversion;
struct conversion {
/* The kind of conversion represented by this step. */
conversion_kind kind;
/* The rank of this conversion. */
conversion_rank rank;
BOOL_BITFIELD user_conv_p : 1;
BOOL_BITFIELD ellipsis_p : 1;
BOOL_BITFIELD this_p : 1;
/* True if this conversion would be permitted with a bending of
language standards e.g. disregarding pointer qualifiers or
converting integers to pointers. */
BOOL_BITFIELD bad_p : 1;
/* If KIND is ck_ref_bind ck_base_conv true to indicate that a
temporary should be created to hold the result of the
conversion. */
BOOL_BITFIELD need_temporary_p : 1;
/* If KIND is ck_ptr or ck_pmem true to indicate that a conversion
from a pointer-to-derived to pointer-to-base is being performed. */
BOOL_BITFIELD base_p : 1;
/* If KIND is ck_ref_bind true when either an lvalue reference is
being bound to an lvalue exp
- 上一篇:SignalRQuickStart.rar
- 下一篇:demo3d初级教程
相关资源
- g++安装包。
- gcc-g77-3.4.6-3.i386.rpm
- png++库安装指南和代码
- gcc-4.8.1(卷四
- CentOS6/7下gcc离线安装包,解决内网/内
- centos7.6所需gcc以及相应所有的包
- centos7 离线安装gcc pcre-devel openssl-dev
- gcc_rpm.tar.gz
- centos6.7gcc离线安装包
- gcc-3.4.6-sol10-x86-local.gz
- gcc.rar
- arm-linux-gcc-4.3.2.tgz
- arm-linux-gcc-3.4.5
- 最新mingw5.1.6
- arm-linux-gcc-4.3.2.tgz-02
- mingw-w64-gcc-4.9.2
- gcc-4.6.4.tar.xz fs4412交叉编译工具链
- RedHat 6.5离线安装GCC
- linux系统下gcc软件包
- arm-cortex_a8-linux-gnueabi-4.7.3.tar.bz2
- gcc-4.8.1(卷一
- arm-linux-gcc-4.4.3
- modelsim/questasim-gcc-4.5.0-mingw64编译器
- linux gcc离线依赖安装包
- MinGW 64位 gcc 4.9.2
- LinuxCentOS6.5离线安装gcc
- 64位centOS 6.5 安装gcc4.4.7所需的rpm包
- MinGW(gcc版本 4.6.2)
- tdm64-gcc-5.1.0-2
- Suse Linux 12 下gcc环境所需rpm安装包
评论
共有 条评论