]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move cexpr_stree tree string build into utility function
authorAndi Kleen <ak@linux.intel.com>
Wed, 12 Jun 2024 13:59:37 +0000 (06:59 -0700)
committerAndi Kleen <ak@linux.intel.com>
Wed, 12 Jun 2024 15:24:07 +0000 (08:24 -0700)
commitbd6bc352d96304a13da63fed6aeb1615be535fd7
tree5658d790c7d45b79745a4d889df1b27acb0a1af8
parentbd3a312728fbf8c35a09239b9180269f938f872e
Move cexpr_stree tree string build into utility function

No semantics changes.

gcc/cp/ChangeLog:

* cp-tree.h (extract): Add new overload to return tree.
* parser.cc (cp_parser_asm_string_expression): Use tree extract.
* semantics.cc (cexpr_str::extract): Add new overload to return
tree.
gcc/cp/cp-tree.h
gcc/cp/parser.cc
gcc/cp/semantics.cc