commit | baf854db6f8b6a674730bffcf7e2509dc99c21d4 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Wed Jan 08 12:59:48 2025 +0900 |
committer | Daichi Hirono <hirono@google.com> | Fri Jan 10 15:24:25 2025 +0900 |
tree | da2c2f79e61c05ded0efffbd1cb7fcea8b4759fe | |
parent | 15a70e8c0c87345caf4ddb8430420984b9210d2f [diff] |
Use expression functions when appropriate This CL makes functions having a single return statement expression functions. These functions are found by the following command line. rg --pcre2 -U '^( +)\w.+ fun .+:.+\{\n\s+return.+\n(?:.+\n)*\1\}' -g '**/desktopmode/**' Bug: None Test: None Flag: EXEMPT format only changes Change-Id: If3e95c12231aa7cf69dfd60fb9277677a13d25a0