[clang-tools-extra] r316650 - [clangd] Don't use /// for non-doxygen comments.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 03:07:04 PDT 2017
Author: d0k
Date: Thu Oct 26 03:07:04 2017
New Revision: 316650
URL: http://llvm.org/viewvc/llvm-project?rev=316650&view=rev
Log:
[clangd] Don't use /// for non-doxygen comments.
Modified:
clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp
clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
Modified: clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp?rev=316650&r1=316649&r2=316650&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp (original)
+++ clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp Thu Oct 26 03:07:04 2017
@@ -14,16 +14,12 @@
//===----------------------------------------------------------------------===//
#include "ClangdLSPServer.h"
-#include "llvm/Support/Program.h"
#include <sstream>
extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
- /// Change stdin to binary to not lose \r\n on windows.
- llvm::sys::ChangeStdinToBinary();
-
clang::clangd::JSONOutput Out(llvm::nulls(), llvm::nulls(), nullptr);
- /// Initialize and run ClangdLSPServer.
+ // Initialize and run ClangdLSPServer.
clang::clangd::ClangdLSPServer LSPServer(
Out, clang::clangd::getDefaultAsyncThreadsCount(),
/*EnableSnippets=*/false, llvm::None, llvm::None);
Modified: clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp?rev=316650&r1=316649&r2=316650&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Thu Oct 26 03:07:04 2017
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
if (RunSynchronously)
WorkerThreadsCount = 0;
- /// Validate command line arguments.
+ // Validate command line arguments.
llvm::Optional<llvm::raw_fd_ostream> InputMirrorStream;
if (!InputMirrorFile.empty()) {
std::error_code EC;
@@ -108,10 +108,10 @@ int main(int argc, char *argv[]) {
if (!ResourceDir.empty())
ResourceDirRef = ResourceDir;
- /// Change stdin to binary to not lose \r\n on windows.
+ // Change stdin to binary to not lose \r\n on windows.
llvm::sys::ChangeStdinToBinary();
- /// Initialize and run ClangdLSPServer.
+ // Initialize and run ClangdLSPServer.
ClangdLSPServer LSPServer(Out, WorkerThreadsCount, EnableSnippets,
ResourceDirRef, CompileCommandsDirPath);
More information about the cfe-commits
mailing list