OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6530136
)
Include <cstdlib> for std::abort() in clangd
author
Dimitry Andric
<dimitry@andric.com>
Thu, 23 Jan 2020 09:11:17 +0000
(10:11 +0100)
committer
Dimitry Andric
<dimitry@andric.com>
Fri, 24 Jan 2020 19:52:37 +0000
(20:52 +0100)
This fixes a "not a member of 'std'" error with e.g. Fedora 32.
Closes: #105
clang-tools-extra/clangd/Shutdown.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/Shutdown.cpp
b/clang-tools-extra/clangd/Shutdown.cpp
index
dfea46d
..
36d9775
100644
(file)
--- a/
clang-tools-extra/clangd/Shutdown.cpp
+++ b/
clang-tools-extra/clangd/Shutdown.cpp
@@
-9,6
+9,7
@@
#include "Shutdown.h"
#include <atomic>
+#include <cstdlib>
#include <thread>
namespace clang {