commit | 6596b9be72e4e535be6eeb3051a82c3faf6c549e | [log] [tgz] |
---|---|---|
author | AMS21 <AMS21.github@gmail.com> | Sun Mar 03 12:13:25 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Mar 03 03:20:23 2024 -0800 |
tree | b9db19a1adc833a512f257a455609de22a19b2ec | |
parent | bb960f99e01869caf0199ffa58475eb047fa5231 [diff] |
[clang-tidy] Improve `google-explicit-constructor` checks handling of `explicit(bool)` (#82689) We now treat `explicit(false)` the same way we treat `noexcept(false)` in the noexcept checks, which is ignoring it. Also introduced a new warning message if a constructor has an `explicit` declaration which evaluates to false and no longer emit a faulty FixIt. Fixes #81121 GitOrigin-RevId: eb3b063995d6b4f8f3bc22eeecbf239ffaecc29f