[libcxx-commits] [libcxx] 5bc8db8 - [libc++][NFC] fix exception_guard include guard name (#131370)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 15 09:14:47 PDT 2025


Author: Hui
Date: 2025-03-15T16:14:44Z
New Revision: 5bc8db884e3a8b9375196fce3add5b50f21cfda4

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

LOG: [libc++][NFC] fix exception_guard include guard name (#131370)

Added: 
    

Modified: 
    libcxx/include/__utility/exception_guard.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__utility/exception_guard.h b/libcxx/include/__utility/exception_guard.h
index 94f67f8e6ca49..6fa744e8b4f32 100644
--- a/libcxx/include/__utility/exception_guard.h
+++ b/libcxx/include/__utility/exception_guard.h
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef _LIBCPP___UTILITY_TRANSACTION_H
-#define _LIBCPP___UTILITY_TRANSACTION_H
+#ifndef _LIBCPP___UTILITY_EXCEPTION_GUARD_H
+#define _LIBCPP___UTILITY_EXCEPTION_GUARD_H
 
 #include <__assert>
 #include <__config>
@@ -140,4 +140,4 @@ _LIBCPP_END_NAMESPACE_STD
 
 _LIBCPP_POP_MACROS
 
-#endif // _LIBCPP___UTILITY_TRANSACTION_H
+#endif // _LIBCPP___UTILITY_EXCEPTION_GUARD_H


        


More information about the libcxx-commits mailing list