[PATCH] D129973: [clang] Pass FoundDecl to DeclRefExpr creator for operator overloads

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 28 06:35:27 PDT 2022


yvvan added a comment.

With this change we don't pass "LocInfo" directly and it seems to break the locations when calling "getCXXOperatorNameRange" for this DeclRefExpr later on. Please fix it. You can introduce another "Create" static method for DeclRefExpr that accepts LocInfo and passes it to the DeclarationNameInfo constructor.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129973



More information about the cfe-commits mailing list