Ignore:
Timestamp:
May 13, 2024, 10:26:59 AM (17 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
e6f1a4b
Parents:
acb33f15 (diff), ca4f2b2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/InitTweak/GenInit.cpp

    racb33f15 r31f4837  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // GenInit.cc -- Generate initializers, and other stuff.
     7// GenInit.cpp -- Generate initializers, and other stuff.
    88//
    99// Author           : Rob Schluntz
     
    1313// Update Count     : 186
    1414//
    15 #include "GenInit.h"
     15#include "GenInit.hpp"
    1616
    1717#include <stddef.h>                    // for NULL
     
    2828#include "AST/Stmt.hpp"
    2929#include "CompilationState.hpp"
    30 #include "CodeGen/OperatorTable.h"
    31 #include "Common/SemanticError.h    // for SemanticError
     30#include "CodeGen/OperatorTable.hpp"
     31#include "Common/SemanticError.hpp"    // for SemanticError
    3232#include "Common/ToString.hpp"         // for toCString
    33 #include "Common/UniqueName.h       // for UniqueName
    34 #include "Common/utility.h"            // for ValueGuard, maybeClone
    35 #include "GenPoly/GenPoly.h         // for getFunctionType, isPolyType
    36 #include "GenPoly/ScopedSet.h       // for ScopedSet, ScopedSet<>::const_iter...
    37 #include "InitTweak.h               // for isConstExpr, InitExpander, checkIn...
    38 #include "ResolvExpr/Resolver.h"
     33#include "Common/UniqueName.hpp"       // for UniqueName
     34#include "Common/Utility.hpp"          // for ValueGuard, maybeClone
     35#include "GenPoly/GenPoly.hpp"         // for getFunctionType, isPolyType
     36#include "GenPoly/ScopedSet.hpp"       // for ScopedSet, ScopedSet<>::const_iter...
     37#include "InitTweak.hpp"               // for isConstExpr, InitExpander, checkIn...
     38#include "ResolvExpr/Resolver.hpp"
    3939#include "SymTab/GenImplicitCall.hpp"  // for genImplicitCall
    40 #include "SymTab/Mangler.h"            // for Mangler
    41 #include "Tuples/Tuples.h"             // for maybeImpure
    42 #include "Validate/FindSpecialDecls.h" // for SizeType
     40#include "SymTab/Mangler.hpp"          // for Mangler
     41#include "Tuples/Tuples.hpp"           // for maybeImpure
    4342
    4443namespace InitTweak {
     
    334333
    335334ast::ConstructorInit * genCtorInit( const CodeLocation & loc, const ast::ObjectDecl * objDecl ) {
    336         // call into genImplicitCall from Autogen.h to generate calls to ctor/dtor for each
    337         // constructable object
     335        // Call genImplicitCall to generate calls to ctor/dtor for each constructable object.
    338336        InitExpander srcParam{ objDecl->init }, nullParam{ (const ast::Init *)nullptr };
    339337        ast::ptr< ast::Expr > dstParam = new ast::VariableExpr(loc, objDecl);
Note: See TracChangeset for help on using the changeset viewer.