diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-13 16:28:05 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-13 16:29:09 +0000 |
commit | 03ac50856c9fc8c96b7a17239ee40a10397750a7 (patch) | |
tree | a648c6d3428e4757e003f6ed1748adb9613065db /gcc/stringpool.h | |
parent | 34efdaf078b01a7387007c4e6bde6db86384c4b7 (diff) | |
download | gcc-tarball-03ac50856c9fc8c96b7a17239ee40a10397750a7.tar.gz |
gcc 7.2.0
This is imported manually due to a bug in the tarball import script.
See the baserock-dev mailing list archives (November 2017) for a
more detailed explaination of the issue.
Diffstat (limited to 'gcc/stringpool.h')
-rw-r--r-- | gcc/stringpool.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gcc/stringpool.h b/gcc/stringpool.h deleted file mode 100644 index be3a05718b..0000000000 --- a/gcc/stringpool.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Declarations and definitons for stringpool.c. - Copyright (C) 2013-2017 Free Software Foundation, Inc. - -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 -<http://www.gnu.org/licenses/>. */ - -#ifndef GCC_STRINGPOOL_H -#define GCC_STRINGPOOL_H - -/* Return the (unique) IDENTIFIER_NODE node for a given name. - The name is supplied as a char *. */ -extern tree get_identifier (const char *); - -/* If an identifier with the name TEXT (a null-terminated string) has - previously been referred to, return that node; otherwise return - NULL_TREE. */ -extern tree maybe_get_identifier (const char *); - -/* Identical to get_identifier, except that the length is assumed - known. */ -extern tree get_identifier_with_length (const char *, size_t); - -#if GCC_VERSION >= 3000 -#define get_identifier(str) \ - (__builtin_constant_p (str) \ - ? get_identifier_with_length ((str), strlen (str)) \ - : get_identifier (str)) -#endif - -#endif // GCC_STRINGPOOL_H |