[PATCH] D94314: [clangd] Add missing "override" to fix the build.
Adam Czachorowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 8 08:21:52 PST 2021
adamcz created this revision.
Herald added subscribers: usaxena95, kadircet, arphaman.
adamcz requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.
Follow-up to d4af86581e80ef0f7a6f4a4fff1c97260a726e71 <https://reviews.llvm.org/rGd4af86581e80ef0f7a6f4a4fff1c97260a726e71>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94314
Files:
clang-tools-extra/clangd/AST.cpp
Index: clang-tools-extra/clangd/AST.cpp
===================================================================
--- clang-tools-extra/clangd/AST.cpp
+++ clang-tools-extra/clangd/AST.cpp
@@ -310,7 +310,7 @@
public:
PrintCB(const DeclContext *CurContext) : CurContext(CurContext) {}
virtual ~PrintCB() {}
- virtual bool isScopeVisible(const DeclContext *DC) const {
+ virtual bool isScopeVisible(const DeclContext *DC) const override {
return DC->Encloses(CurContext);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94314.315411.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210108/8108fae5/attachment.bin>
More information about the cfe-commits
mailing list