]> git.ipfire.org Git - thirdparty/gcc.git/commit
analyzer: fix const-correctness of various is_a_helper
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 15 Jul 2021 23:33:07 +0000 (19:33 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Thu, 15 Jul 2021 23:33:07 +0000 (19:33 -0400)
commitc031ea2782a1873eee5ba82fb114cd87ff831412
tree379286812c547be01d6510041383de6dec7764d2
parentf364cdffa47af574f90f671b2dcf5afa91442741
analyzer: fix const-correctness of various is_a_helper

gcc/analyzer/ChangeLog:
* svalue.h (is_a_helper <placeholder_svalue *>::test): Make
param and template param const.
(is_a_helper <widening_svalue *>::test): Likewise.
(is_a_helper <compound_svalue *>::test): Likewise.
(is_a_helper <conjured_svalue *>::test): Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/analyzer/svalue.h