aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2021-02-03 11:58:13 -0500
committerMarek Polacek <polacek@redhat.com>2021-02-03 13:24:40 -0500
commitb52a1dfe12a6303c7649f3ff5b8dac6c1001d49a (patch)
tree36c6a58ad9d498be45eaff3b82ff0f724f87b70a /libcpp/lex.c
parent5c62e4f255bfac65e18213fd93ee1c9908b4a750 (diff)
downloadgcc-b52a1dfe12a6303c7649f3ff5b8dac6c1001d49a.zip
gcc-b52a1dfe12a6303c7649f3ff5b8dac6c1001d49a.tar.gz
gcc-b52a1dfe12a6303c7649f3ff5b8dac6c1001d49a.tar.bz2
c++: Mark member functions as const [PR98951]
These member functions look like they could be marked const, since they don't modify any (non-mutable) class members. PR c++/98951 * call.c (struct z_candidate): Mark rewritten and reversed as const. (struct NonPublicField): Mark operator() as const. (struct NonTrivialField): Likewise.
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions