aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-07-18 22:10:58 -0700
committerFangrui Song <i@maskray.me>2023-07-18 22:10:58 -0700
commit1d133d9e88def5cbe28f594f15293bf946e5d069 (patch)
tree8503f803d1d62740843a470ba6bea135a691b5fd /llvm/lib/Demangle/ItaniumDemangle.cpp
parentc4eb880d433171d6571c873bd2e5510978816f5a (diff)
downloadllvm-1d133d9e88def5cbe28f594f15293bf946e5d069.zip
llvm-1d133d9e88def5cbe28f594f15293bf946e5d069.tar.gz
llvm-1d133d9e88def5cbe28f594f15293bf946e5d069.tar.bz2
[Demangle] Include <exception> for IWYU
The called std::terminate currently gets the declaration transitively through llvm/Demangle/Utility.h, removing <exception> from Utility.h would break ItaniumDemangle.cpp.
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r--llvm/lib/Demangle/ItaniumDemangle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp
index d81fb65..e3f208f 100644
--- 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>