forked from OSchip/llvm-project
[clangd] Prune some dead declarations. No functionality change.
llvm-svn: 330599
This commit is contained in:
parent
5a8bdc81d6
commit
08824567af
|
@ -85,16 +85,11 @@ public:
|
|||
const clang::Diagnostic &Info) override;
|
||||
|
||||
private:
|
||||
bool shouldIgnore(DiagnosticsEngine::Level DiagLevel,
|
||||
const clang::Diagnostic &Info);
|
||||
|
||||
void flushLastDiag();
|
||||
|
||||
std::vector<Diag> Output;
|
||||
llvm::Optional<LangOptions> LangOpts;
|
||||
llvm::Optional<Diag> LastDiag;
|
||||
/// Is any diag or note from LastDiag in the main file?
|
||||
bool LastDiagMentionsMainFile = false;
|
||||
};
|
||||
|
||||
} // namespace clangd
|
||||
|
|
|
@ -93,10 +93,6 @@ private:
|
|||
WithContext RestoreCtx;
|
||||
};
|
||||
|
||||
/// Returns mutable span metadata if this span is interested.
|
||||
/// Prefer to use SPAN_ATTACH rather than accessing this directly.
|
||||
json::obj *spanArgs();
|
||||
|
||||
/// Attach a key-value pair to a Span event.
|
||||
/// This is not threadsafe when used with the same Span.
|
||||
#define SPAN_ATTACH(S, Name, Expr) \
|
||||
|
|
Loading…
Reference in New Issue