]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
Deprecate gimple-builder.h API
authorRichard Biener <rguenther@suse.de>
Thu, 15 Apr 2021 10:57:00 +0000 (12:57 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 15 Apr 2021 11:43:27 +0000 (13:43 +0200)
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.

gcc/gimple-builder.h

index 61cf08c8dcbc651aa45798219178af5d4b440741..ae273ce90417ab3f23a1e0338f42782f86227b52 100644 (file)
@@ -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);