aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-01-07 16:55:59 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-01-07 16:55:59 +0000
commit9d96c3c7f25d4a7aee428f7534dd5414a41a079f (patch)
tree10c2ef72fdfa214d31103992fd7832e87182bcdc /clang-tools-extra
parent[NFC] Fix formatting of README.md for better rendering (diff)
downloadllvm-project-9d96c3c7f25d4a7aee428f7534dd5414a41a079f.tar.gz
llvm-project-9d96c3c7f25d4a7aee428f7534dd5414a41a079f.tar.bz2
llvm-project-9d96c3c7f25d4a7aee428f7534dd5414a41a079f.zip
[clangd] Include <cstdio> instead of <stdio.h>. NFC
This fixes the only clang-tidy check currently enabled by clangd. llvm-svn: 350540
Diffstat (limited to 'clang-tools-extra')
-rw-r--r--clang-tools-extra/clangd/fuzzer/ClangdFuzzer.cpp2
-rw-r--r--clang-tools-extra/unittests/clangd/JSONTransportTests.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/fuzzer/ClangdFuzzer.cpp b/clang-tools-extra/clangd/fuzzer/ClangdFuzzer.cpp
index 8c9c7bdbf262..7afd07986d04 100644
--- a/clang-tools-extra/clangd/fuzzer/ClangdFuzzer.cpp
+++ b/clang-tools-extra/clangd/fuzzer/ClangdFuzzer.cpp
@@ -16,8 +16,8 @@
#include "ClangdLSPServer.h"
#include "ClangdServer.h"
#include "CodeComplete.h"
+#include <cstdio>
#include <sstream>
-#include <stdio.h>
using namespace clang::clangd;
diff --git a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp
index f9afb4de2514..23c393462a31 100644
--- a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp
+++ b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp
@@ -10,7 +10,7 @@
#include "Transport.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
-#include <stdio.h>
+#include <cstdio>
namespace clang {
namespace clangd {