[all-commits] [llvm/llvm-project] 8dbe9b: [Clang-tools-extra] Mark override a function which...

Anh Tuyen Tran via All-commits all-commits at lists.llvm.org
Tue Jul 28 22:31:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dbe9b249846be81bc676543698db14ee37e28e2
      https://github.com/llvm/llvm-project/commit/8dbe9b249846be81bc676543698db14ee37e28e2
  Author: Anh Tuyen Tran <anhtuyen at ca.ibm.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list