[flang] More renaming

Original-commit: flang-compiler/f18@9ef9ef4479
Reviewed-on: https://github.com/flang-compiler/f18/pull/170
Tree-same-pre-rewrite: false
This commit is contained in:
Eric Schweitz 2018-09-06 13:33:51 -07:00 committed by GitHub
parent facd02405f
commit b3a87d4e27
1 changed files with 10 additions and 10 deletions

View File

@ -33,22 +33,22 @@ using IndexList = std::vector<std::pair<parser::CharBlock, parser::CharBlock>>;
// because the parse tree does not actually have the scopes required.
using ProxyForScope = unsigned;
struct LabeledStatementInfoTuplePOD {
LabeledStatementInfoTuplePOD(const ProxyForScope &_proxyForScope,
const parser::CharBlock &_parserCharBlock,
const LabeledStmtClassificationSet &_labeledStmtClassificationSet)
: proxyForScope{_proxyForScope}, parserCharBlock{_parserCharBlock},
labeledStmtClassificationSet{_labeledStmtClassificationSet} {}
LabeledStatementInfoTuplePOD(const ProxyForScope &proxyForScope,
const parser::CharBlock &parserCharBlock,
const LabeledStmtClassificationSet &labeledStmtClassificationSet)
: proxyForScope{proxyForScope}, parserCharBlock{parserCharBlock},
labeledStmtClassificationSet{labeledStmtClassificationSet} {}
ProxyForScope proxyForScope;
parser::CharBlock parserCharBlock;
LabeledStmtClassificationSet labeledStmtClassificationSet;
};
using TargetStmtMap = std::map<parser::Label, LabeledStatementInfoTuplePOD>;
struct SourceStatementInfoTuplePOD {
SourceStatementInfoTuplePOD(const parser::Label &_parserLabel,
const ProxyForScope &_proxyForScope,
const parser::CharBlock &_parserCharBlock)
: parserLabel{_parserLabel}, proxyForScope{_proxyForScope},
parserCharBlock{_parserCharBlock} {}
SourceStatementInfoTuplePOD(const parser::Label &parserLabel,
const ProxyForScope &proxyForScope,
const parser::CharBlock &parserCharBlock)
: parserLabel{parserLabel}, proxyForScope{proxyForScope},
parserCharBlock{parserCharBlock} {}
parser::Label parserLabel;
ProxyForScope proxyForScope;
parser::CharBlock parserCharBlock;