diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-10-07 05:02:34 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-10-07 05:06:52 -0700 |
commit | 99e9b54313dbb8fdb3d2a354c9554478cc33e234 (patch) | |
tree | 951f89b82e5393a8fbdf3bd7e47ff961738e2811 /gcc/cp/pt.c | |
parent | ba42c30445cef0aef15405d92361a536e12ae865 (diff) | |
download | gcc-99e9b54313dbb8fdb3d2a354c9554478cc33e234.zip gcc-99e9b54313dbb8fdb3d2a354c9554478cc33e234.tar.gz gcc-99e9b54313dbb8fdb3d2a354c9554478cc33e234.tar.bz2 |
c++: Rename DECL_BUILTIN_P to DECL_UNDECLARED_BUILTIN_P
I realized I'd misnamed DECL_BUILTIN_P, it's only true of compiler
builtins unless and until the user declares them -- at that point
they're real decls, and will have a location in the user's source.
(BUILT_IN_FN and friends still work though). This renames them so
future-me is not confused as to why the predicate becomes false.
gcc/cp/
* cp-tree.h (DECL_BUILTIN_P): Rename to ...
(DECL_UNDECLARED_BUILTIN_P): ... here.
* decl.c (duplicate_decls): Adjust.
* name-lookup.c (anticipated_builtin_p): Adjust.
(do_nonmember_using_decl): Likewise.
libcc1/
* libcp1plugin.cc (supplement_binding): Rename
DECL_BUILTIN_P.
Diffstat (limited to 'gcc/cp/pt.c')
0 files changed, 0 insertions, 0 deletions