Ignore:
Timestamp:
Sep 3, 2024, 12:08:09 PM (2 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
737bf73
Parents:
cdbb909
Message:

Changed the interpritation of () to be no parameters instead of any parameters. This had a lot of little changes because of this and some nearby clean-up. This includes some changes, including changing some generated functions to be fixed-args instead of variable-args, stripping out the place holder void parameter earlier, but it still shows up earlier in some cases that examine the parser directly. Also had to update the function generation tools. Have only tested with one --arch. Hopefully this all works out.

Location:
tests/errors/.expect
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/errors/.expect/declaration.txt

    rcdbb909 rdb19e1d  
    2020
    2121errors/declaration.cfa:24:1 error: duplicate const qualifier(s) in declaration of f01: static inline function
    22   with no parameters
     22  with parameters
     23    void
    2324  returning const volatile int
    2425
    2526
    2627errors/declaration.cfa:25:1 error: duplicate volatile qualifier(s) in declaration of f02: static inline function
    27   with no parameters
     28  with parameters
     29    void
    2830  returning const volatile int
    2931
    3032
    3133errors/declaration.cfa:26:1 error: duplicate const qualifier(s) in declaration of f03: static inline function
    32   with no parameters
     34  with parameters
     35    void
    3336  returning const volatile int
    3437
    3538
    3639errors/declaration.cfa:27:1 error: duplicate volatile qualifier(s) in declaration of f04: static inline function
    37   with no parameters
     40  with parameters
     41    void
    3842  returning const volatile int
    3943
    4044
    4145errors/declaration.cfa:28:1 error: duplicate const qualifier(s) in declaration of f05: static inline function
    42   with no parameters
     46  with parameters
     47    void
    4348  returning const volatile int
    4449
    4550
    4651errors/declaration.cfa:29:1 error: duplicate volatile qualifier(s) in declaration of f06: static inline function
    47   with no parameters
     52  with parameters
     53    void
    4854  returning const volatile int
    4955
    5056
    5157errors/declaration.cfa:30:1 error: duplicate const qualifier(s) in declaration of f07: static inline function
    52   with no parameters
     58  with parameters
     59    void
    5360  returning const volatile int
    5461
    5562
    5663errors/declaration.cfa:31:1 error: duplicate const volatile qualifier(s) in declaration of f08: static inline function
    57   with no parameters
     64  with parameters
     65    void
    5866  returning const volatile int
    5967
    6068
    6169errors/declaration.cfa:33:1 error: duplicate const volatile qualifier(s) in declaration of f09: static inline function
    62   with no parameters
     70  with parameters
     71    void
    6372  returning const volatile int
    6473
    6574
    6675errors/declaration.cfa:34:1 error: duplicate const qualifier(s), duplicate _Atomic qualifier(s), duplicate _Atomic qualifier(s), duplicate const restrict volatile qualifier(s) in declaration of f09: static inline function
    67   with no parameters
     76  with parameters
     77    void
    6878  returning const restrict volatile _Atomic int
    6979
  • tests/errors/.expect/signature.txt

    rcdbb909 rdb19e1d  
    22errors/signature.cfa:3:1 error: Constructors, destructors, and assignment functions require at least one parameter.
    33errors/signature.cfa:4:1 error: Constructors, destructors, and assignment functions require at least one parameter.
    4 errors/signature.cfa:5:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
    5 errors/signature.cfa:6:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
    6 errors/signature.cfa:7:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
     4errors/signature.cfa:5:1 error: Constructors, destructors, and assignment functions require at least one parameter.
     5errors/signature.cfa:6:1 error: Constructors, destructors, and assignment functions require at least one parameter.
     6errors/signature.cfa:7:1 error: Constructors, destructors, and assignment functions require at least one parameter.
    77errors/signature.cfa:10:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
    88errors/signature.cfa:11:1 error: First parameter of a constructor, destructor, or assignment function must be a reference.
Note: See TracChangeset for help on using the changeset viewer.