[cfe-commits] [libcxxabi] r147532 - /libcxxabi/trunk/src/cxa_exception.cpp
Marshall Clow
mclow at qualcomm.com
Wed Jan 4 06:56:09 PST 2012
Author: marshall
Date: Wed Jan 4 08:56:09 2012
New Revision: 147532
URL: http://llvm.org/viewvc/llvm-project?rev=147532&view=rev
Log:
Better comment
Modified:
libcxxabi/trunk/src/cxa_exception.cpp
Modified: libcxxabi/trunk/src/cxa_exception.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.cpp?rev=147532&r1=147531&r2=147532&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.cpp (original)
+++ libcxxabi/trunk/src/cxa_exception.cpp Wed Jan 4 08:56:09 2012
@@ -388,7 +388,7 @@
// get the current exception
__cxa_eh_globals* globals = __cxa_get_globals_fast();
if (NULL == globals)
- return NULL; // Never has been an exception
+ return NULL; // If there are no globals, there is no exception
__cxa_exception* current_exception = globals->caughtExceptions;
if (NULL == current_exception)
return NULL; // No current exception
More information about the cfe-commits
mailing list