Ignore:
Timestamp:
Jun 23, 2026, 1:57:51 PM (22 hours ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
9d7a19f
Parents:
45d0e65
Message:

differentiate between C _Alignof and gcc alignof

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r45d0e65 r366f5cd  
    1010// Created On       : Wed Jun 5 14:30:00 2019
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Sep  9 11:30:11 2024
    13 // Update Count     : 5
     12// Last Modified On : Tue Jun 23 11:41:24 2026
     13// Update Count     : 7
    1414//
    1515
     
    14961496                const ast::Type * type = resolveTypeof( alignofExpr->type, context );
    14971497                const ast::Type * sizeType = context.global.sizeType.get();
    1498                 addCandidate(
    1499                         new ast::AlignofExpr( alignofExpr->location, type, sizeType ),
    1500                         tenv );
     1498                addCandidate( new ast::AlignofExpr( alignofExpr->location, type, sizeType, alignofExpr->kind ), tenv );
    15011499        }
    15021500
Note: See TracChangeset for help on using the changeset viewer.