[PATCH] D82954: Fix crash on overloaded postfix unary operators due to invalid sloc

Eduardo Caldas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 09:10:32 PDT 2020


eduucaldas marked an inline comment as done.
eduucaldas added inline comments.


================
Comment at: clang/lib/AST/ExprCXX.cpp:82
+  default:
+    return getNumArgs() == 1;
+  }
----------------
riccibruno wrote:
> This will be true for `operator->`.
Thank you ! I had missed that! I'll propose a more robust solution. I'll probably split this patch. But I'll take care to subscribe you to anything related


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82954/new/

https://reviews.llvm.org/D82954





More information about the cfe-commits mailing list