[Clang-tools-extra] Mark override a function which overrides a virtual one

Function void run() on line 286 overrides a virtual function on line 92 of
clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp.  Not marking it override will
cause a build failure when we use -Werror (every warning is treated as an error).

Reviewed By: kbobyrev (Kirill Bobyrev)

Differential Revision: https://reviews.llvm.org/D84794
This commit is contained in:
Anh Tuyen Tran 2020-07-29 05:29:45 +00:00
parent 60c889cf71
commit 8dbe9b2498
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class Export : public Command {
};
public:
void run() {
void run() override {
using namespace clang::clangd;
// Read input file (as specified in global option)
auto Buffer = llvm::MemoryBuffer::getFile(IndexLocation);