[clang-tools-extra] r328302 - [clangd] Remove 'static' from a function inside anonymous ns. NFC
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 23 03:39:15 PDT 2018
Author: ibiryukov
Date: Fri Mar 23 03:39:15 2018
New Revision: 328302
URL: http://llvm.org/viewvc/llvm-project?rev=328302&view=rev
Log:
[clangd] Remove 'static' from a function inside anonymous ns. NFC
Modified:
clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp?rev=328302&r1=328301&r2=328302&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp Fri Mar 23 03:39:15 2018
@@ -42,7 +42,7 @@ using ::testing::UnorderedElementsAre;
namespace {
-static bool diagsContainErrors(const std::vector<Diag> &Diagnostics) {
+bool diagsContainErrors(const std::vector<Diag> &Diagnostics) {
for (auto D : Diagnostics) {
if (D.Severity == DiagnosticsEngine::Error ||
D.Severity == DiagnosticsEngine::Fatal)
More information about the cfe-commits
mailing list