aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-builder.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-04-15 12:57:00 +0200
committerRichard Biener <rguenther@suse.de>2021-04-15 13:43:27 +0200
commitddcf111d0554c0cd4f80c1ce033af0304f8ff024 (patch)
treec31ba97a4218e92d6a0d947a62fe628ce6fa2fda /gcc/gimple-builder.h
parent1696fc1ea01d5c9dce96b5d3122921aab9308f59 (diff)
downloadgcc-ddcf111d0554c0cd4f80c1ce033af0304f8ff024.zip
gcc-ddcf111d0554c0cd4f80c1ce033af0304f8ff024.tar.gz
gcc-ddcf111d0554c0cd4f80c1ce033af0304f8ff024.tar.bz2
Deprecate gimple-builder.h API
This adds a deprecation note to the undocumented gimple-builder.h API only used by asan and sancov. 2021-04-15 Richard Biener <rguenther@suse.de> * gimple-builder.h: Add deprecation note.
Diffstat (limited to 'gcc/gimple-builder.h')
-rw-r--r--gcc/gimple-builder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gimple-builder.h b/gcc/gimple-builder.h
index 61cf08c..ae273ce 100644
--- a/gcc/gimple-builder.h
+++ b/gcc/gimple-builder.h
@@ -21,6 +21,8 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GIMPLE_BUILDER_H
#define GCC_GIMPLE_BUILDER_H
+/* ??? This API is legacy and should not be used in new code. */
+
gassign *build_assign (enum tree_code, tree, int, tree lhs = NULL_TREE);
gassign *build_assign (enum tree_code, gimple *, int, tree lhs = NULL_TREE);
gassign *build_assign (enum tree_code, tree, tree, tree lhs = NULL_TREE);