[cfe-commits] [libcxxabi] r148827 - in /libcxxabi/trunk/src: cxa_exception.cpp cxa_exception.hpp

Howard Hinnant hhinnant at apple.com
Tue Jan 24 10:15:20 PST 2012


Author: hhinnant
Date: Tue Jan 24 12:15:20 2012
New Revision: 148827

URL: http://llvm.org/viewvc/llvm-project?rev=148827&view=rev
Log:
Move kOurExceptionClass and kOurDependentExceptionClass from source to header so that they can be used in multiple sources.  This is a private header, these constants are not publicly exposed.

Modified:
    libcxxabi/trunk/src/cxa_exception.cpp
    libcxxabi/trunk/src/cxa_exception.hpp

Modified: libcxxabi/trunk/src/cxa_exception.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.cpp?rev=148827&r1=148826&r2=148827&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.cpp (original)
+++ libcxxabi/trunk/src/cxa_exception.cpp Tue Jan 24 12:15:20 2012
@@ -34,9 +34,7 @@
 
 
 namespace __cxxabiv1 {
-static const uint64_t kOurExceptionClass          = 0x434C4E47432B2B00; // CLNGC++\0
-static const uint64_t kOurDependentExceptionClass = 0x434C4E47432B2B01; // CLNGC++\1
-                                                    
+
 //  Utility routines
 static
 inline

Modified: libcxxabi/trunk/src/cxa_exception.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.hpp?rev=148827&r1=148826&r2=148827&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.hpp (original)
+++ libcxxabi/trunk/src/cxa_exception.hpp Tue Jan 24 12:15:20 2012
@@ -17,6 +17,9 @@
 
 namespace __cxxabiv1 {
 
+static const uint64_t kOurExceptionClass          = 0x434C4E47432B2B00; // CLNGC++\0
+static const uint64_t kOurDependentExceptionClass = 0x434C4E47432B2B01; // CLNGC++\1
+                                                    
     struct __cxa_exception { 
 #if __LP64__
     // This is a new field to support C++ 0x exception_ptr.





More information about the cfe-commits mailing list