Changeset 9feb34b for src/ResolvExpr


Ignore:
Timestamp:
Mar 29, 2023, 11:07:03 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
afdb74b
Parents:
60380a1
Message:

Moved toString and toCString to a new header. Updated includes. cassert was somehow getting instances of toString before but that stopped working so I embedded the new smaller include.

Location:
src/ResolvExpr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Candidate.cpp

    r60380a1 r9feb34b  
    1717
    1818#include <iostream>
     19#include <sstream>
    1920
    2021#include "AST/Print.hpp"
     
    4445        sorted.reserve(cands.size());
    4546        for(const auto & c : cands) {
    46                 std::stringstream ss;
     47                std::ostringstream ss;
    4748                print( ss, *c, indent );
    4849                sorted.push_back(ss.str());
  • src/ResolvExpr/Resolver.cc

    r60380a1 r9feb34b  
    3939#include "AST/Type.hpp"
    4040#include "Common/Eval.h"                 // for eval
     41#include "Common/Iterate.hpp"            // for group_iterate
    4142#include "Common/PassVisitor.h"          // for PassVisitor
    4243#include "Common/SemanticError.h"        // for SemanticError
    4344#include "Common/Stats/ResolveTime.h"    // for ResolveTime::start(), ResolveTime::stop()
    44 #include "Common/utility.h"              // for ValueGuard, group_iterate
     45#include "Common/ToString.hpp"           // for toCString
    4546#include "InitTweak/GenInit.h"
    4647#include "InitTweak/InitTweak.h"         // for isIntrinsicSingleArgCallStmt
Note: See TracChangeset for help on using the changeset viewer.