]> git.ipfire.org Git - thirdparty/gcc.git/commit
Disable gcc_rich_location copying and assignment.
authorMartin Sebor <msebor@redhat.com>
Tue, 31 Aug 2021 17:15:21 +0000 (11:15 -0600)
committerMartin Sebor <msebor@redhat.com>
Tue, 31 Aug 2021 17:15:21 +0000 (11:15 -0600)
commite4d2305adf4e9d11e396c1c5e5ae6214340cbcc2
tree3a10a3da027bbc6875b65d69769465063591a1bc
parente45d5b6bf1bcf9fd16c3ecfadb9bde69f890b28d
Disable gcc_rich_location copying and assignment.

gcc/cp/ChangeLog:

* parser.c (cp_parser_selection_statement): Use direct initialization
instead of copy.

gcc/ChangeLog:

* gcc-rich-location.h (gcc_rich_location): Make ctor explicit.

libcpp/ChangeLog:

* include/line-map.h (class rich_location): Disable copying and
assignment.
gcc/cp/parser.c
gcc/gcc-rich-location.h
libcpp/include/line-map.h