[PATCH] D84794: Mark override to a function which overrides a virtual one

Anh Tuyen Tran via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 28 22:31:03 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8dbe9b249846: [Clang-tools-extra] Mark override a function which overrides a virtual one (authored by anhtuyen).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84794

Files:
  clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp


Index: clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
===================================================================
--- clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
+++ clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
@@ -283,7 +283,7 @@
   };
 
 public:
-  void run() {
+  void run() override {
     using namespace clang::clangd;
     // Read input file (as specified in global option)
     auto Buffer = llvm::MemoryBuffer::getFile(IndexLocation);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84794.281472.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200729/71732199/attachment.bin>


More information about the cfe-commits mailing list