[libcxx-commits] [libcxxabi] a9e9727 - [libcxxabi] Add missing include statement.

Caroline Tice via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 6 17:18:05 PDT 2023


Author: Caroline Tice
Date: 2023-10-06T17:17:18-07:00
New Revision: a9e97278aa0754e1ee7564dace1474b4e759df99

URL: https://github.com/llvm/llvm-project/commit/a9e97278aa0754e1ee7564dace1474b4e759df99
DIFF: https://github.com/llvm/llvm-project/commit/a9e97278aa0754e1ee7564dace1474b4e759df99.diff

LOG: [libcxxabi] Add missing include statement.

Change aade74675c15d3bae5fdfa67f7b4b6ed9dac3d20 updated exception
handling in parts of libc++, but forgot to include <exceptions> in
cxa_demangle.cpp.  This commit corrects that issue.

Added: 
    

Modified: 
    libcxxabi/src/cxa_demangle.cpp

Removed: 
    


################################################################################
diff  --git a/libcxxabi/src/cxa_demangle.cpp b/libcxxabi/src/cxa_demangle.cpp
index 03085cb5903b1aa..6055b2a538de414 100644
--- a/libcxxabi/src/cxa_demangle.cpp
+++ b/libcxxabi/src/cxa_demangle.cpp
@@ -18,6 +18,7 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
+#include <exception>
 #include <functional>
 #include <numeric>
 #include <string_view>


        


More information about the libcxx-commits mailing list