Changeset 82a5ea2 for src/main.cpp


Ignore:
Timestamp:
Sep 5, 2024, 4:07:48 PM (5 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
a933489b
Parents:
508cff0
Message:

Added checks for (and a test to check the checks) assertions we will not be able to adapt. Using an adapted version of Mike's error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    r508cff0 r82a5ea2  
    6767#include "Tuples/Tuples.hpp"                // for expandMemberTuples, expan...
    6868#include "Validate/Autogen.hpp"             // for autogenerateRoutines
     69#include "Validate/CheckAssertions.hpp"     // for checkAssertions
    6970#include "Validate/CompoundLiteral.hpp"     // for handleCompoundLiterals
    7071#include "Validate/EliminateTypedef.hpp"    // for eliminateTypedef
     
    314315                PASS( "Replace Typedefs", Validate::replaceTypedef, transUnit );
    315316                PASS( "Fix Return Types", Validate::fixReturnTypes, transUnit );
     317                PASS( "Check Assertions", Validate::checkAssertions, transUnit );
    316318                PASS( "Enum and Pointer Decay", Validate::decayEnumsAndPointers, transUnit );
    317319
Note: See TracChangeset for help on using the changeset viewer.