[PATCH] D127629: [clang] Use correct visibility parameters when following a Using declaration

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 05:59:46 PDT 2022


kadircet added a reviewer: kadircet.
kadircet added inline comments.


================
Comment at: clang/lib/Sema/SemaCodeComplete.cpp:1269
   if (const auto *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) {
     CodeCompletionResult Result(Using->getTargetDecl(),
                                 getBasePriority(Using->getTargetDecl()),
----------------
can you also update `MaybeAddResult` around line 1096.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127629



More information about the cfe-commits mailing list