Changes in src/AST/Pass.impl.hpp [9e23b446:e8616b6]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
r9e23b446 re8616b6 597 597 guard_symtab guard { *this }; 598 598 // implicit add __func__ identifier as specified in the C manual 6.4.2.2 599 // This is a C name and so has C linkage. 599 600 static ast::ptr< ast::ObjectDecl > func{ new ast::ObjectDecl{ 600 601 CodeLocation{}, "__func__", … … 602 603 new ast::BasicType{ ast::BasicType::Char, ast::CV::Const }, 603 604 nullptr, VariableLen, DynamicDim 604 } 605 }, 606 nullptr, 607 ast::Storage::Classes(), 608 ast::Linkage::C, 605 609 } }; 606 610 __pass::symtab::addId( core, 0, func ); … … 681 685 if ( __visit_children() ) { 682 686 // unlike structs, traits, and unions, enums inject their members into the global scope 687 maybe_accept( node, &EnumDecl::base ); 683 688 maybe_accept( node, &EnumDecl::params ); 684 689 maybe_accept( node, &EnumDecl::members );
Note:
See TracChangeset
for help on using the changeset viewer.