We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e185b1d commit 2e1bb79Copy full SHA for 2e1bb79
clang-tools-extra/clangd/AST.cpp
@@ -310,7 +310,7 @@ std::string printType(const QualType QT, const DeclContext &CurContext) {
310
public:
311
PrintCB(const DeclContext *CurContext) : CurContext(CurContext) {}
312
virtual ~PrintCB() {}
313
- virtual bool isScopeVisible(const DeclContext *DC) const {
+ virtual bool isScopeVisible(const DeclContext *DC) const override {
314
return DC->Encloses(CurContext);
315
}
316
0 commit comments