CodeGen: Do not use const T* for some user defined types
In concept, we would like constant dictionaries' getters to return constant references. However, it can be harmful for developers to make some sorts of types, e.g. interfaces, constant. This CL makes it to return a non const reference for those types. Bug: 839389 Change-Id: I33d4e378e278baf5620c3d8cac39b65a0e590cb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301712 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#791744}
Showing
Please register or sign in to comment