Ignore:
Timestamp:
Nov 10, 2023, 5:04:30 PM (6 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
2174191
Parents:
f5ec35a
Message:

Took the special main linkage code out of FunctionDecl? and put it into a new pass. There is also a lot of related clean-up done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/FixNames.h

    rf5ec35a r61efa42  
    1616#pragma once
    1717
    18 #include <list>  // for list
    19 
    20 class Declaration;
    2118namespace ast {
    2219        class TranslationUnit;
     
    2421
    2522namespace CodeGen {
    26         /// mangles object and function names
    27         void fixNames( std::list< Declaration* > & translationUnit );
     23
    2824/// Sets scope levels and fills in main's default return.
    2925void fixNames( ast::TranslationUnit & translationUnit );
     26
    3027} // namespace CodeGen
    3128
Note: See TracChangeset for help on using the changeset viewer.