Changeset a7efc96


Ignore:
Timestamp:
Sep 9, 2024, 2:48:53 PM (5 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
5c6d439
Parents:
d3b33d5
Message:

Made sure a variable is always initialized and removed some trailing whitespace.

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    rd3b33d5 ra7efc96  
    342342/// set visit_children false of all child nodes should be ignored
    343343struct WithShortCircuiting {
    344         bool visit_children;
     344        bool visit_children = true;
    345345};
    346346
  • src/ResolvExpr/ConversionCost.cpp

    rd3b33d5 ra7efc96  
    192192
    193193Cost enumCastCost (
    194         const ast::EnumInstType * src, const ast::EnumInstType * dst, 
     194        const ast::EnumInstType * src, const ast::EnumInstType * dst,
    195195        const ast::SymbolTable & symtab, const ast::TypeEnvironment & env
    196196);
     
    488488// (dst) src is safe is src is a subtype of dst, or dst {inline src, ...}
    489489Cost enumCastCost (
    490         const ast::EnumInstType * src, const ast::EnumInstType * dst, 
     490        const ast::EnumInstType * src, const ast::EnumInstType * dst,
    491491        const ast::SymbolTable & symtab, const ast::TypeEnvironment & env
    492492) {
Note: See TracChangeset for help on using the changeset viewer.