Add use of const in opencl-lang.c
authorTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 16:22:17 +0000 (09:22 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 16:24:41 +0000 (09:24 -0700)
commit749065b7a71a877b96db280dbdc5ddf6fd259827
treec420713c9f1a28324699e8d0ddf6da382f8326b8
parent2c5b1849a6814a52f3e2dd7f0e1eaf6f9dcd2359
Add use of const in opencl-lang.c

I found another expression-related spot that could use constification.
This patch adds it.  Tested by rebuilding.

gdb/ChangeLog
2020-11-14  Tom Tromey  <tom@tromey.com>

* opencl-lang.c (opencl_component_ref): Make "comps" const.
gdb/ChangeLog
gdb/opencl-lang.c