================ @@ -1639,11 +1639,19 @@ SourceLocation CallExpr::getBeginLoc() const { if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(this)) return OCE->getBeginLoc(); + if (const auto *Method = + dyn_cast_if_present<const CXXMethodDecl>(getCalleeDecl()); ---------------- cor3ntin wrote:
Maybe you could do something like ``` unsigned Offset = 0; if(isExplicitObjectMemberFunction()) Offset = 1; ``` To avoid some duplication https://github.com/llvm/llvm-project/pull/117841 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits