commit | 2b992009a875200b006230113c5e8f4c7f438a95 | [log] [tgz] |
---|---|---|
author | Piotr Zegar <me@piotrzegar.pl> | Wed May 08 20:11:10 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 08 11:18:27 2024 -0700 |
tree | 95e3a9b686147d93e176e8590962c630254ef2b5 | |
parent | 314b829dbce58395724697e6ec25d832f6967af7 [diff] |
[clang-tidy] Handle expr with side-effects in readability-static-accessed-through-instance (#90736) Improved readability-static-accessed-through-instance check to support expressions with side-effects. Originally calls to overloaded operator were ignored by check, in fear of possible side-effects. This change remove that restriction, and enables fix-its for expressions with side-effect via --fix-notes. Closes #75163 GitOrigin-RevId: 37b6ba96dea54e7af3772d78c90bfb3fd61140f6