[PATCH] D130799: [clang] Keep declaration name info in DeclRefExpr

Danny Mösch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 29 14:05:01 PDT 2022


SimplyDanny created this revision.
SimplyDanny added a reviewer: yvvan.
Herald added a subscriber: arphaman.
Herald added a project: All.
SimplyDanny requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Without it `getCXXOperatorNameRange` returns a wrong range. This commit reverts the test references changed in e818ce0e060901be98eb1b043ca581c746171085 <https://reviews.llvm.org/rGe818ce0e060901be98eb1b043ca581c746171085> and 4e94f6653150511de434fa7e29b684ae7f0e52b6 <https://reviews.llvm.org/rG4e94f6653150511de434fa7e29b684ae7f0e52b6>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130799

Files:
  clang/lib/Sema/SemaOverload.cpp
  clang/test/Index/annotate-operator-call-expr.cpp
  clang/test/Index/cursor-ref-names.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130799.448713.patch
Type: text/x-patch
Size: 9958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220729/73ccd8ef/attachment.bin>


More information about the cfe-commits mailing list