diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-08-17 12:04:13 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-08-17 12:04:13 +0000 |
commit | c5d725c0a8da3b2227d119871e881d8a6e1bf600 (patch) | |
tree | 7350722280ba05e1042b098c9c42984d9569f9a9 /gcc/c-family | |
parent | 0138492e7bdbb4949c940a501415b7bbf5ffb9b4 (diff) | |
download | gcc-c5d725c0a8da3b2227d119871e881d8a6e1bf600.zip gcc-c5d725c0a8da3b2227d119871e881d8a6e1bf600.tar.gz gcc-c5d725c0a8da3b2227d119871e881d8a6e1bf600.tar.bz2 |
[PATCH] Move cpp_macro to cpplib.h
https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01016.html
libcpp/
* cpp-id-data.h (uchar, UC): Move to internal.h
(struct cpp_macro): Move to cpplib.h.
* internal.h (uchar, UC): From cpp-id-data.h.
* include/cpplib.h (struct cpp_macro): From cpp-id-data.h.
gcc/c-family/
* c-ada-spec.c: Don't #include "cpp-id-data.h"
* c-cppbuiltin.c: Likewise.
gcc/
* cppbuiltin.c: Include "cpplib.h", not "cpp-id-data.h".
From-SVN: r263618
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/c-ada-spec.c | 1 | ||||
-rw-r--r-- | gcc/c-family/c-cppbuiltin.c | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2ab5b44..93b1ba1 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2018-08-17 Nathan Sidwell <nathan@acm.org> + + * c-ada-spec.c: Don't #include "cpp-id-data.h" + * c-cppbuiltin.c: Likewise. + 2018-08-17 Martin Liska <mliska@suse.cz> * c.opt: Remove Warn, Init and Report for options with diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c index c6447ab..0352932 100644 --- a/gcc/c-family/c-ada-spec.c +++ b/gcc/c-family/c-ada-spec.c @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "c-ada-spec.h" #include "fold-const.h" #include "c-pragma.h" -#include "cpp-id-data.h" #include "stringpool.h" #include "attribs.h" diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index 4fcf3a6..85d79dc 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "output.h" /* For user_label_prefix. */ #include "debug.h" /* For dwarf2out_do_cfi_asm. */ #include "common/common-target.h" -#include "cpp-id-data.h" #include "cppbuiltin.h" #ifndef TARGET_OS_CPP_BUILTINS |