[clangd] zap a few warnings
This commit is contained in:
parent
c46c7c9bcf
commit
95c7b6cadb
|
@ -143,6 +143,7 @@ class DumpVisitor : public RecursiveASTVisitor<DumpVisitor> {
|
|||
TEMPLATE_ARGUMENT_KIND(Declaration);
|
||||
TEMPLATE_ARGUMENT_KIND(Template);
|
||||
TEMPLATE_ARGUMENT_KIND(TemplateExpansion);
|
||||
TEMPLATE_ARGUMENT_KIND(UncommonValue);
|
||||
#undef TEMPLATE_ARGUMENT_KIND
|
||||
}
|
||||
llvm_unreachable("Unhandled ArgKind enum");
|
||||
|
|
|
@ -1069,6 +1069,7 @@ public:
|
|||
case TemplateArgument::Pack:
|
||||
case TemplateArgument::Type:
|
||||
case TemplateArgument::Expression:
|
||||
case TemplateArgument::UncommonValue:
|
||||
break; // Handled by VisitType and VisitExpression.
|
||||
};
|
||||
return RecursiveASTVisitor::TraverseTemplateArgumentLoc(A);
|
||||
|
|
|
@ -152,7 +152,8 @@ public:
|
|||
});
|
||||
}
|
||||
|
||||
llvm::unique_function<bool(llvm::StringRef) const> indexedFiles() const {
|
||||
llvm::unique_function<bool(llvm::StringRef) const>
|
||||
indexedFiles() const override {
|
||||
// FIXME: For now we always return "false" regardless of whether the file
|
||||
// was indexed or not. A possible implementation could be based on
|
||||
// the idea that we do not want to send a request at every
|
||||
|
|
Loading…
Reference in a new issue