diff options
author | Fangrui Song <i@maskray.me> | 2023-07-18 22:10:58 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-07-18 22:10:58 -0700 |
commit | 1d133d9e88def5cbe28f594f15293bf946e5d069 (patch) | |
tree | 8503f803d1d62740843a470ba6bea135a691b5fd /llvm/lib/Demangle/ItaniumDemangle.cpp | |
parent | c4eb880d433171d6571c873bd2e5510978816f5a (diff) | |
download | llvm-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.cpp | 1 |
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> |