Unverified Commit 37b6ba96 authored by Piotr Zegar's avatar Piotr Zegar Committed by GitHub
Browse files

[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
parent 10bdcf6b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment