forked from OSchip/llvm-project
[clangd] Add missing "override" to fix the build.
Follow-up to d4af86581e
Differential Revision: https://reviews.llvm.org/D94314
This commit is contained in:
parent
e185b1dd7b
commit
2e1bb7940a
|
@ -310,7 +310,7 @@ std::string printType(const QualType QT, const DeclContext &CurContext) {
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue