[PATCH] D153152: Adds tweak to add declarations for pure virtuals

Robert Schneider via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 09:21:44 PDT 2023


robot created this revision.
robot added a reviewer: sammccall.
Herald added subscribers: ChuanqiXu, kadircet, arphaman.
Herald added a project: All.
robot requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

This tweak searches the current or a selected base class for functions
which are still pure virtual in the current class, and adds function
declarations (overriders) for them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153152

Files:
  clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
  clang-tools-extra/clangd/refactor/tweaks/DeclarePureVirtuals.cpp
  clang-tools-extra/clangd/unittests/CMakeLists.txt
  clang-tools-extra/clangd/unittests/tweaks/DeclarePureVirtualsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153152.532195.patch
Type: text/x-patch
Size: 23424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230616/dedfd9e7/attachment-0001.bin>


More information about the cfe-commits mailing list