projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4eb880
)
[Demangle] Include <exception> for IWYU
author
Fangrui Song
<i@maskray.me>
Wed, 19 Jul 2023 05:10:58 +0000
(22:10 -0700)
committer
Fangrui Song
<i@maskray.me>
Wed, 19 Jul 2023 05:10:58 +0000
(22:10 -0700)
The called std::terminate currently gets the declaration transitively
through llvm/Demangle/Utility.h, removing <exception> from Utility.h
would break ItaniumDemangle.cpp.
llvm/lib/Demangle/ItaniumDemangle.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Demangle/ItaniumDemangle.cpp
b/llvm/lib/Demangle/ItaniumDemangle.cpp
index
d81fb65
..
e3f208f
100644
(file)
--- a/
llvm/lib/Demangle/ItaniumDemangle.cpp
+++ b/
llvm/lib/Demangle/ItaniumDemangle.cpp
@@
-18,6
+18,7
@@
#include <cstdio>
#include <cstdlib>
#include <cstring>
+#include <exception>
#include <functional>
#include <utility>