Changeset 822332e for src/AST/Pass.hpp


Ignore:
Timestamp:
May 30, 2024, 2:36:08 PM (7 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
0f5e8cd
Parents:
91b9e10
Message:

It seems clang uses different scoping rules for the trailing return of a scoped runction declaration. This form seems compatable with clang and gcc. Since I switched over to clang for testing I also cleaned up all errors that clang or gcc mentioned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    r91b9e10 r822332e  
    352352
    353353        template< typename core_t >
    354         friend auto __pass::make_value_guard( core_t & core, int ) -> decltype( value_guard( core.at_cleanup ) );
     354        friend auto __pass::make_value_guard( core_t & core, int )
     355                -> decltype( __pass::value_guard( core.at_cleanup ) );
    355356public:
    356357
Note: See TracChangeset for help on using the changeset viewer.