• Aaron Gokaslan's avatar
    Add support for nested C++11 exceptions (#3608) · d2ec8367
    Aaron Gokaslan authored
    * Add support for nested C++11 exceptions
    
    * Remove wrong include
    
    * Fix if directive
    
    * Fix missing skipif
    
    * Simplify code and try to work around MSVC bug
    
    * Clarify comment
    
    * Further simplify code
    
    * Remove the last extra throw statement
    
    * Qualify auto
    
    * Fix typo
    
    * Add missing return for consistency
    
    * Fix clang-tidy complaint
    
    * Fix python2 stub
    
    * Make clang-tidy happy
    
    * Fix compile error
    
    * Fix python2 function signature
    
    * Extract C++20 utility and backport
    
    * Cleanup code a bit more
    
    * Improve test case
    
    * Consolidate code and fix signature
    
    * Fix typo
    d2ec8367
test_exceptions.cpp 9.71 KB