https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99614

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

https://gcc.gnu.org/g:21d09cb732dac5d980ac628eb3aca75c821028a2

commit r11-7734-g21d09cb732dac5d980ac628eb3aca75c821028a2
Author: David Malcolm <dmalc...@redhat.com>
Date:   Fri Mar 19 09:01:57 2021 -0400

    analyzer: mark epath_finder with DISABLE_COPY_AND_ASSIGN [PR99614]

    cppcheck warns that class epath_finder does dynamic memory allocation, but
    is missing a copy constructor and operator=.

    This class isn't meant to be copied or assigned, so mark it with
    DISABLE_COPY_AND_ASSIGN.

    gcc/analyzer/ChangeLog:
            PR analyzer/99614
            * diagnostic-manager.cc (class epath_finder): Add
            DISABLE_COPY_AND_ASSIGN.

Reply via email to