[libcxx-commits] [libcxx] 4e1a23e - [runtimes][NFC] Remove stray whitespace on extern C comments

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 11 10:25:09 PDT 2023


Author: Louis Dionne
Date: 2023-08-11T13:25:01-04:00
New Revision: 4e1a23e3fcea102dbf6c5a4742d96b8dc9de59e6

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

LOG: [runtimes][NFC] Remove stray whitespace on extern C comments

Added: 
    

Modified: 
    libcxx/include/wchar.h
    libcxxabi/src/aix_state_tab_eh.inc
    libcxxabi/src/cxa_exception.cpp
    libcxxabi/src/cxa_guard.cpp
    libcxxabi/src/cxa_noexception.cpp
    libcxxabi/src/cxa_personality.cpp
    libcxxabi/src/cxa_vector.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/include/wchar.h b/libcxx/include/wchar.h
index eeccf3e937ff66..c416fba6d448d9 100644
--- a/libcxx/include/wchar.h
+++ b/libcxx/include/wchar.h
@@ -186,7 +186,7 @@ size_t mbsnrtowcs(wchar_t *__restrict __dst, const char **__restrict __src,
                   size_t __nmc, size_t __len, mbstate_t *__restrict __ps);
 size_t wcsnrtombs(char *__restrict __dst, const wchar_t **__restrict __src,
                   size_t __nwc, size_t __len, mbstate_t *__restrict __ps);
-}  // extern "C"
+} // extern "C"
 #endif  // __cplusplus && (_LIBCPP_MSVCRT || __MVS__)
 
 #endif // _LIBCPP_WCHAR_H

diff  --git a/libcxxabi/src/aix_state_tab_eh.inc b/libcxxabi/src/aix_state_tab_eh.inc
index 3bb09ed27573a5..0cd94834b37adb 100644
--- a/libcxxabi/src/aix_state_tab_eh.inc
+++ b/libcxxabi/src/aix_state_tab_eh.inc
@@ -740,6 +740,6 @@ __catchThrownException(void (*cdfunc)(void),   // function which may fail
   return 0;
 }
 
-}  // extern "C"
+} // extern "C"
 
 }  // __cxxabiv1

diff  --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp
index 9cb2bf888811f1..5a347d8276ebba 100644
--- a/libcxxabi/src/cxa_exception.cpp
+++ b/libcxxabi/src/cxa_exception.cpp
@@ -771,6 +771,6 @@ __cxa_uncaught_exceptions() throw()
     return globals->uncaughtExceptions;
 }
 
-}  // extern "C"
+} // extern "C"
 
 }  // abi

diff  --git a/libcxxabi/src/cxa_guard.cpp b/libcxxabi/src/cxa_guard.cpp
index fc1fa905119590..514fa962e3daa8 100644
--- a/libcxxabi/src/cxa_guard.cpp
+++ b/libcxxabi/src/cxa_guard.cpp
@@ -48,6 +48,6 @@ _LIBCXXABI_FUNC_VIS void __cxa_guard_abort(guard_type *raw_guard_object) {
   SelectedImplementation imp(raw_guard_object);
   imp.cxa_guard_abort();
 }
-}  // extern "C"
+} // extern "C"
 
 }  // __cxxabiv1

diff  --git a/libcxxabi/src/cxa_noexception.cpp b/libcxxabi/src/cxa_noexception.cpp
index 4a803f72e193ed..29381458f15d3d 100644
--- a/libcxxabi/src/cxa_noexception.cpp
+++ b/libcxxabi/src/cxa_noexception.cpp
@@ -49,7 +49,7 @@ __cxa_uncaught_exception() throw() { return false; }
 unsigned int
 __cxa_uncaught_exceptions() throw() { return 0; }
 
-}  // extern "C"
+} // extern "C"
 
 // provide dummy implementations for the 'no exceptions' case.
 uint64_t __getExceptionClass  (const _Unwind_Exception*)           { return 0; }

diff  --git a/libcxxabi/src/cxa_personality.cpp b/libcxxabi/src/cxa_personality.cpp
index b28c58df6a2f90..0bbb0c7d689ffe 100644
--- a/libcxxabi/src/cxa_personality.cpp
+++ b/libcxxabi/src/cxa_personality.cpp
@@ -1304,7 +1304,7 @@ _LIBCXXABI_FUNC_VIS _Unwind_Reason_Code __xlcxx_personality_v1(
     __attribute__((__alias__("__gxx_personality_v0")));
 #endif
 
-}  // extern "C"
+} // extern "C"
 
 }  // __cxxabiv1
 

diff  --git a/libcxxabi/src/cxa_vector.cpp b/libcxxabi/src/cxa_vector.cpp
index 099f9f0c1e9b36..17d942a6e61c79 100644
--- a/libcxxabi/src/cxa_vector.cpp
+++ b/libcxxabi/src/cxa_vector.cpp
@@ -416,6 +416,6 @@ __cxa_vec_delete3(void *array_address, size_t element_size, size_t padding_size,
 }
 
 
-}  // extern "C"
+} // extern "C"
 
 }  // abi


        


More information about the libcxx-commits mailing list