Author: d0k
Date: Mon Apr 23 07:58:18 2018
New Revision: 330599
URL: http://llvm.org/viewvc/llvm-project?rev=330599&view=rev
Log:
[clangd] Prune some dead declarations. No functionality change.
Modified:
clang-tools-extra/trunk/clangd/Diagnostics.h
clang-tools-extra/trunk/clangd/Trace.h
Modified: clang-tools-extra/trunk/clangd/Diagnostics.h
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Diagnostics.h?rev=330599&r1=330598&r2=330599&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Diagnostics.h (original)
+++ clang-tools-extra/trunk/clangd/Diagnostics.h Mon Apr 23 07:58:18 2018
@@ -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
Modified: clang-tools-extra/trunk/clangd/Trace.h
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Trace.h?rev=330599&r1=330598&r2=330599&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Trace.h (original)
+++ clang-tools-extra/trunk/clangd/Trace.h Mon Apr 23 07:58:18 2018
@@ -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)
\
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits