source: src/ResolvExpr/ExplodedActual.h@ a8b27c6

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since a8b27c6 was a8b27c6, checked in by Aaron Moss <a3moss@…>, 8 years ago

Pre-explode arguments in AlternativeFinder

  • Property mode set to 100644
File size: 956 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// Alternative.h --
8//
9// Author : Aaron B. Moss
10// Created On : Tue Nov 22 17:06:00 2017
11// Last Modified By : Aaron B. Moss
12// Last Modified On : Tue Nov 22 17:06:00 2017
13// Update Count : 1
14//
15
16#pragma once
17
18#include "Alternative.h" // for Alternative, AltList
19#include "Cost.h" // for Cost
20#include "TypeEnvironment.h" // for TypeEnvironment
21#include "SymTab/Indexer.h" // for Indexer
22
23namespace ResolvExpr {
24 /// Pre-exploded actual
25 struct ExplodedActual {
26 TypeEnvironment env;
27 Cost cost;
28 AltList alts; // TODO flatten this down to vector<unique_ptr<Expression>>
29
30 ExplodedActual() : env(), cost(Cost::zero), alts() {}
31
32 ExplodedActual( const Alternative& actual, const SymTab::Indexer& indexer );
33 };
34}
Note: See TracBrowser for help on using the repository browser.