tree-ssa-strlen.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. /* Declarations of tree-ssa-strlen API.
  2. Copyright (C) 2018-2019 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_TREE_SSA_STRLEN_H
  16. #define GCC_TREE_SSA_STRLEN_H
  17. extern bool is_strlen_related_p (tree, tree);
  18. extern bool maybe_diag_stxncpy_trunc (gimple_stmt_iterator, tree, tree);
  19. extern tree set_strlen_range (tree, wide_int, tree = NULL_TREE);
  20. #endif // GCC_TREE_SSA_STRLEN_H