Changeset 37b3151 for src/Validate


Ignore:
Timestamp:
Nov 30, 2023, 3:53:45 PM (8 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
c4570af3
Parents:
d787828d
Message:

Rename the linkReferenceTypes pass and the file that contains it. BaseInstType? used to be called ReferenceToType?, so the reason for the pass being called that is no longer true.

Location:
src/Validate
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/Validate/LinkInstanceTypes.cpp

    rd787828d r37b3151  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // LinkReferenceToTypes.cpp -- Connect instance types to declarations.
     7// LinkInstanceTypes.cpp -- Connect instance types to declarations.
    88//
    99// Author           : Andrew Beach
     
    1414//
    1515
    16 #include "Validate/LinkReferenceToTypes.hpp"
     16#include "Validate/LinkInstanceTypes.hpp"
    1717
    1818#include "AST/Pass.hpp"
     
    331331} // namespace
    332332
    333 void linkReferenceToTypes( ast::TranslationUnit & translationUnit ) {
     333void linkInstanceTypes( ast::TranslationUnit & translationUnit ) {
    334334        ast::Pass<LinkTypesCore>::run( translationUnit );
    335335}
  • src/Validate/LinkInstanceTypes.hpp

    rd787828d r37b3151  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // LinkReferenceToTypes.hpp -- Connect instance types to declarations.
     7// LinkInstanceTypes.hpp -- Connect instance types to declarations.
    88//
    99// Author           : Andrew Beach
     
    2525/// adjustments, such as setting the sized flag.
    2626/// Because of the sized flag, it must happen before auto-gen.
    27 void linkReferenceToTypes( ast::TranslationUnit & translationUnit );
     27void linkInstanceTypes( ast::TranslationUnit & translationUnit );
    2828
    2929}
  • src/Validate/module.mk

    rd787828d r37b3151  
    4444        Validate/LabelAddressFixer.cpp \
    4545        Validate/LabelAddressFixer.hpp \
    46         Validate/LinkReferenceToTypes.cpp \
    47         Validate/LinkReferenceToTypes.hpp \
     46        Validate/LinkInstanceTypes.cpp \
     47        Validate/LinkInstanceTypes.hpp \
    4848        Validate/NoIdSymbolTable.hpp \
    4949        Validate/ReplaceTypedef.cpp \
Note: See TracChangeset for help on using the changeset viewer.