Changeset cad9edb


Ignore:
Timestamp:
Feb 16, 2023, 11:28:19 AM (15 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
26e6d88
Parents:
f2f595d7
Message:

Split the forward include namespace from the declaration namespace in Pass.proto.hpp. Used nested namespace to for the declaration namespace as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.proto.hpp

    rf2f595d7 rcad9edb  
    1818
    1919#include "Common/Stats/Heap.h"
    20 
    2120namespace ast {
    22 template<typename core_t>
    23 class Pass;
    24 
     21template<typename core_t> class Pass;
    2522class TranslationUnit;
    26 
    2723struct PureVisitor;
    28 
    29 template<typename node_t>
    30 node_t * deepCopy( const node_t * localRoot );
    31 
    32 namespace __pass {
     24template<typename node_t> node_t * deepCopy( const node_t * );
     25}
     26
     27namespace ast::__pass {
     28
    3329        typedef std::function<void( void * )> cleanup_func_t;
    3430        typedef std::function<void( cleanup_func_t, void * )> at_cleanup_t;
    35 
    3631
    3732        // boolean reference that may be null
     
    520515                static inline void get( core_t &, long ) {}
    521516        }
    522 } // namespace __pass
    523 } // namespace ast
     517
     518} // namespace ast::__pass
Note: See TracChangeset for help on using the changeset viewer.