OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e185b1d
)
[clangd] Add missing "override" to fix the build.
author
Adam Czachorowski
<adamcz@google.com>
Fri, 8 Jan 2021 16:21:02 +0000
(17:21 +0100)
committer
Adam Czachorowski
<adamcz@google.com>
Fri, 8 Jan 2021 16:24:47 +0000
(17:24 +0100)
Follow-up to
d4af86581e80ef0f7a6f4a4fff1c97260a726e71
Differential Revision: https://reviews.llvm.org/D94314
clang-tools-extra/clangd/AST.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/AST.cpp
b/clang-tools-extra/clangd/AST.cpp
index
16298f3
..
8af4cbb
100644
(file)
--- a/
clang-tools-extra/clangd/AST.cpp
+++ b/
clang-tools-extra/clangd/AST.cpp
@@
-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);
}