Changeset b0f225f for libcfa/src


Ignore:
Timestamp:
Aug 31, 2021, 5:09:59 PM (3 years ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
24ebddac
Parents:
ca83227
Message:

Used in-English-order declaration syntax in header file too

Location:
libcfa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    rca83227 rb0f225f  
    119119
    120120// Parse configuration from a file formatted in tabular (CS 343) style
    121 [ * KVPairs ] parse_tabular_config_format( * const char config_file, size_t num_entries ) {
     121[ * KVPairs ] parse_tabular_config_format( [] const char config_file, size_t num_entries ) {
    122122        // TODO: Change this to a unique_ptr when we fully support returning them (move semantics)
    123123        * KVPairs kv_pairs = new( num_entries );
  • libcfa/src/parseconfig.hfa

    rca83227 rb0f225f  
    6666};
    6767
    68 void msg( Missing_Config_Entries * ex );
     68[ void ] msg( * Missing_Config_Entries ex );
    6969
    7070exception Parse_Failure {
     
    7373};
    7474
    75 void msg( Parse_Failure * ex );
     75[ void ] msg( * Parse_Failure ex );
    7676
    7777exception Validation_Failure {
     
    8080};
    8181
    82 void msg( Validation_Failure * ex );
     82[ void ] msg( * Validation_Failure ex );
    8383
    8484
     
    108108
    109109forall(T | Relational( T ))
    110 bool is_nonnegative( T & );
     110[ bool ] is_nonnegative( & T );
    111111
    112112forall(T | Relational( T ))
    113 bool is_positive( T & );
     113[ bool ] is_positive( & T );
    114114
    115115forall(T | Relational( T ))
    116 bool is_nonpositive( T & );
     116[ bool ] is_nonpositive( & T );
    117117
    118118forall(T | Relational( T ))
    119 bool is_negative( T & );
     119[ bool ] is_negative( & T );
    120120
    121121
Note: See TracChangeset for help on using the changeset viewer.