[clangd] Prune some dead declarations. No functionality change.

llvm-svn: 330599
This commit is contained in:
Benjamin Kramer 2018-04-23 14:58:18 +00:00
parent 5a8bdc81d6
commit 08824567af
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -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) \