[clang] [Clang] Correctly diagnose a static function overloading a non-static function (PR #93460)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 04:36:15 PDT 2024


================
@@ -797,6 +797,8 @@ Bug Fixes to C++ Support
   in dependent contexts. Fixes (#GH92680).
 - Fixed a crash when diagnosing failed conversions involving template parameter
   packs. (#GH93076)
+- Fixed a regression introduced in Clang 18 causing a static function overloading a non-static function
+  with the same parameters not to be diagnosed. (Fixes #93456).
----------------
zyn0217 wrote:

(#GH93456)

https://github.com/llvm/llvm-project/pull/93460


More information about the cfe-commits mailing list