Changeset f135b50 for src/SymTab


Ignore:
Timestamp:
Feb 28, 2022, 3:41:44 AM (3 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
786c438
Parents:
a8ef59e
Message:

The compiler is now trying to pass the value of enum const to code gen; but it won't work cause we must be able to evaluate the const_expr in compiler time. It is not currently passed as a Expression but won't be able to evaluate at compile time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Demangle.cc

    ra8ef59e rf135b50  
    252252
    253253        void GenType::postvisit( EnumInstType * enumInst ) {
    254                 typeString = "enum " + enumInst->name + " " + typeString;
     254                typeString = "enum /* Marker demangle::EnumInstType */ " + enumInst->name + " " + typeString;
    255255                handleQualifiers( enumInst );
    256256        }
Note: See TracChangeset for help on using the changeset viewer.