[clang] [Clang] Static and explicit object member functions with the same parameter-type-lists (PR #93430)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 06:22:49 PDT 2024


================
@@ -5813,6 +5813,23 @@ static TypoCorrection TryTypoCorrectionForCall(Sema &S, Expr *Fn,
   return TypoCorrection();
 }
 
+static bool isParenthetizedAndQualifiedAddressOfExpr(Expr *Fn) {
+  if (!isa<ParenExpr>(Fn))
+    return false;
+
+  Fn = Fn->IgnoreParens();
----------------
erichkeane wrote:

Should we also ignore implicit casts along the way here for all of these?

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


More information about the cfe-commits mailing list