aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-04-29 14:21:47 -0400
committerJason Merrill <jason@redhat.com>2022-04-29 15:12:07 -0400
commit8189838d823ea65e560c573d38a65edc12f5c2e3 (patch)
tree6b512751386433e09e6cf7d57afdfbde87af21a5 /gcc/cp/lambda.cc
parentfd0d3e9121c5aa65150d242676be6bbdc8d4a92a (diff)
downloadgcc-8189838d823ea65e560c573d38a65edc12f5c2e3.zip
gcc-8189838d823ea65e560c573d38a65edc12f5c2e3.tar.gz
gcc-8189838d823ea65e560c573d38a65edc12f5c2e3.tar.bz2
c++: tidy auto deduction
In r185768 I added the !FUNCTION_DECL check, but we might as well just check for variable; nothing else should take this path, and asserting as much doesn't regress anything. gcc/cp/ChangeLog: * decl.cc (cp_finish_decl): Only consider auto for vars.
Diffstat (limited to 'gcc/cp/lambda.cc')
0 files changed, 0 insertions, 0 deletions